Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: line in fstab is bad, line in fstab is bad< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 24 2006,13:53 QUOTE

Afaik, the mount tool only looks in /mnt ... and the rest is up to your fstab.

What's currently in /etc/fstab now?
Back to top
Profile PM 
antonino Offline





Group: Members
Posts: 48
Joined: Sep. 2006
Posted: Oct. 24 2006,14:14 QUOTE

fstab now contains:

Quote
/dev/hda3  /  ext2  defaults,errors=remount-ro  0  1
proc  /proc  proc  defaults  0  0
/dev/fd0  /mnt/auto/floppy  auto defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom  /mnt/auto/cdrom auto defaults,ro,user,noexec,noauto  0  0
# partitions found by dsl
#/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
#/dev/hda3 /mnt/hda3 ext2 noauto,users,exec 0 0
#/dev/hdg /mnt/hdg iso9660 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0


So when I do $mount /dev/fd0 the floppy gets mounted on /mnt/auto/floppy

As far as mtab is concerned, yes it contains the devices mounted, just as you pointed out.
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 24 2006,17:05 QUOTE

I suppose you manually edited your file... but here's what mine has
Code Sample
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
Back to top
Profile PM 
antonino Offline





Group: Members
Posts: 48
Joined: Sep. 2006
Posted: Oct. 25 2006,12:43 QUOTE

Yes, probably did & forgot...

I changed the line so it's the same as yours, but to no avail...
The mounnttool keeps telling me it can't find /dev/fd0 in /etc/fstab

Some rights-problem maybe?
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 25 2006,15:47 QUOTE

Well maybe you can check the permissions by
ls -l /mnt/
ls -l /mnt/auto/
Back to top
Profile PM 
21 replies since Oct. 22 2006,15:50 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: line in fstab is bad

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code