|
Bugzilla – Full Text Bug Listing |
| Summary: | mount -a doesn't work with hotpluggable devices | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Hannes Reinecke <hare> |
| Component: | Basesystem | Assignee: | Hannes Reinecke <hare> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dkukawka, ihno, ro |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Hannes Reinecke
2005-08-12 14:06:55 UTC
And simply setting to fsck frequency to '0' in /etc/fstab is not going to help as we want to have the device checked ... A) If we add this option to fstab and also -t noopts=... to fsck then the device will not be checked at boottime, even if present. B) I vote very much to name the option 'hotplug' or similar, because this gives an idea of the use of this option. Since this option does not change anything at mounts failure behavior 'nofail' is a bit wrong. Does mount complain about unknown options? I cannot reproduce that here. So for now over to fsck maintainer. Yes, it does:
g204:~ # mount | grep sda6
g204:~ # grep sda6 /etc/fstab
/dev/sda6 /data2 auto hotplug,auto,user 0 0
g204:~ # mount /dev/sda6
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
g204:~ # mount | grep sda6
g204:~ #
We have to change
1) mount
2) boot.localfs
And of course after changing fstab: g204:~ # grep sda6 /etc/fstab /dev/sda6 /data2 auto auto,user 0 0 g204:~ # mount /dev/sda6 g204:~ # mount | grep sda6 /dev/sda6 on /data2 type ext3 (rw,noexec,nosuid,nodev) g204:~ # Just for completeness. Hannes, I've sent you the patch that needs 10 minutes more work to add documentation about the flag. I'm on vacation right now, so I'm reassigning to you. Feel free to assign it back to me, if you cannot add it. Updated package submitted to autobuild for Beta3. closed. |