You are not logged in.
Hi,
Last time I restarted my computer, I had added a line to fstab:
/dev/sdc /mnt_usb vfat users,noauto,umask=0000 0 1
/dev/sdc1 /mntc1 vfat users,noauto,umask=0000 0 1
Previously, I had only the first one, but then I added the second one just for ease of mounting a thumbdrive. When I restarted however, dosfsck would throw an error and say "reboot is required".. It would proceed to do this over and over. /dev/sdc was not in the computer at this time. I fixed it by Ctrl-Cing at the reboot prompt and then remounting everything to get a usable system and then commenting both of those lines out in fstab.
Is this expected behavior? Also, I'm still on the old rc.d scripts, I'm not for sure if this affects systemd(maybe a brave soul could try it)
Offline
/dev/sdc /mnt_usb vfat users,noauto,umask=0000 0 1 /dev/sdc1 /mntc1 vfat users,noauto,umask=0000 0 1
That it makes no sense. You are trying to mount the /dev/sdc directly to /mnt_usb (btw, create subdirs under /mnt instead), but you are also trying to mount a partition under sdc under /mntc1.
Mounting a device directly is done only if you don't have partitions there, but if you do, you mount the partitions, not the device itself.
Using rc.d instead of systemd has nothing to do with it.
Do
# fdisk -l /dev/sdcif you get a line like telling you about /dev/sdc1, it means you have such partition. In that case, delete the /dev/sdc /mnt_usb line.
Instead, if you get nothing, you have no partitions and you should delete the /dev/sdc1 /mntc1 line.
"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.
Offline
earlz wrote:/dev/sdc /mnt_usb vfat users,noauto,umask=0000 0 1 /dev/sdc1 /mntc1 vfat users,noauto,umask=0000 0 1That it makes no sense. You are trying to mount the /dev/sdc directly to /mnt_usb (btw, create subdirs under /mnt instead), but you are also trying to mount a partition under sdc under /mntc1.
Mounting a device directly is done only if you don't have partitions there, but if you do, you mount the partitions, not the device itself.
I did it this way because I wanted easy command-line mounting of thumbdrives, and other USB devices. I have a device that implements a FAT filesystem( http://mbed.org ) which can't have partitions... But, I also like to be able to mount a thumbdrive(with partitions) in a similar manner.
Is there a better way around this then? And also, should this really cause a bootloop? It seems it should fail a bit more... gracefully
Offline
Is there a better way around this then?
Have you tried using pmount instead?
"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.
Offline
Or if you prefer an in-repo option, look at udevil.
Offline