Petter Reinholdtsen wrote, on 08/07/09 04:05:
[Arthur Marsh]
The drive would mount fine manually, but fsck.vfat claimed that it
couldn't find the device, so it wouldn't mount at boot-up.
As far as I can see, the init.d/checkfs.sh script just call fsck -A
(and a few other arguments), and there is no code in the script to
process /etc/fstab.
There code in init.d/checkroot.sh process fstab, but should only work
on /, so I assume it is not related to your problem. You might try to
replace 'read' with 'read -r' in the script and see if it solve your
problem, but I doubt it and suspect your problem need to be fixed in
fsck or fsck.vfat.
Please test and let me know if -r solve your problem. If I do not
hear anything in a month, I'll reassign this issue to the package
providing fsck.vfat.
Happy hacking,
I added "-r" to the "read" command in /etc/init.d/checkroot.sh, then added:
/dev/disk/by-label/W-98\x20SE /win98se vfat
defaults,users,uid=65534,gid=65534,umask=000,shortname=win95 0
2
to /etc/fstab. At boot time, the filesystem fails to fsck, but gets
mounted alright.
Wed Jul 8 05:16:01 2009: [/sbin/fsck.vfat (1) -- /win98se] fsck.vfat -a
/dev/disk/by-label/W-98x20SE
Wed Jul 8 05:16:01 2009: open /dev/disk/by-label/W-98x20SE:No such file
or directory
Wed Jul 8 05:16:01 2009: dosfsck 3.0.3, 18 May 2009, FAT32, LFN
Wed Jul 8 05:16:01 2009: fsck died with exit status 1
Regards,
Arthur.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org