Bug 52264
Summary: | will not mount 100MB disk in 250MB drive | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Brian Gunney <btng> |
Component: | kudzu | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | roswell | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-08-23 04:31:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Brian Gunney
2001-08-22 05:36:10 UTC
How is the 100MB disk partitioned? It is unpartitioned. In addition, when the 100MB disk is in, "fdisk /dev/hdc4" gives "Unable to read /dev/hdc4", but "fdisk /dev/hdc" works. And when the 250MB disk is in, "fdisk /dev/hdc" gives "Unable to open /dev/hdc", but "fdisk /dev/hdc4" works. When the fdisk command works, the following warning is encountered: Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. That's the problem. The initial entry is set up for partitioned disks (i.e., fs on fourth partition. If you put in an unpartitioned disk, you will get an error. The 250MB disk is not partitioned either. It makes little sense to have fstab put that disk in /dev/hdc4, but since it works, that seems ok. But why does that work? Why is the default behavior to assume there is a partition number 4? It seems to be a poor choice to force users to know about disk partitioning when all they want to do is write to the disk. factory formatted disks come with everything on partition 4. dunno why, it's an iomega quirk. Is it possible to generate two lines in fstab, one for the 4th partition and one for the unpartitioned disk? Well, that's not really necessary. What is needed is the change of ownership when a user logs in at the console. |