Re: Need help with fstab in 10.1



Ram wrote:

Ram wrote:
Alberto Garcia Baladia wrote:
Ram wrote:

There have been removed, as they are no long used. CD/DVD are mounted
Automatically when a disk is placed in the drive. If not try this in a
root console hwinfo --cdrom
Then, something is going wrong in my system, because I need those two
lines in the fstab for the disks to be mounted automatically in KDE.
Perhaps the problem is in KDE 3.5.3.
Thank you.



Here's my 10.1 fstab with a CD currently mounted

/dev/hdf1 / reiserfs acl,user_xattr 1 1
/dev/hdf2 /home reiserfs acl,user_xattr 1 2
/dev/hda1 /windows/C ntfs
ro,noatime,user,users,gid=users,umask=0002,nls=utf8 0 0

/dev/hda2 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

/dev/hdb1 /windows/E vfat users,gid=users,umask=0002,utf8=true 0 0

/dev/hdg1 /windows/F ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

/dev/hdg2 swap swap defaults 0 0
/dev/sda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0

devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0


I'll be back in a mo with my 10.0 fstab

Ram



Here's my 10.0 fstab with the same CD mounted.

/dev/sda2 / reiserfs acl,user_xattr 1 1
/dev/sda3 /boot ext2 acl,user_xattr 1 2
/dev/sda4 /home reiserfs acl,user_xattr 1 2
/dev/sda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

/dev/hda2 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

/dev/fd0 /media/floppy subfs
noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0

/dev/hdc /media/cdrom subfs
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

/dev/hdd /media/dvd subfs
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

/dev/hdg1 /windows/E ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

/dev/hdb1 /share vfat users 0 0
/dev/hdf1 /10.1 reiserfs defaults 1 2


Ram

OK. This is mine with the lines I added. I have tested the two fstabs
several times; If I remove the two lines (/dev/hda, /dev/hdb), the CDs are
not mounted automatically, and if I try to mount them manually, mount
command output is "no /dev/hda in fstab or mtab":

/dev/sda8 / reiserfs acl,user_xattr 1
1
/dev/sda2 /windows/C ntfs
ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 /windows/D vfat
users,gid=users,umask=0002,utf8=true 0 0
/dev/sda6 /windows/E vfat
users,gid=users,umask=0002,utf8=true 0 0
/dev/sda7 swap swap defaults 0
0
proc /proc proc defaults 0
0
sysfs /sys sysfs noauto 0
0
debugfs /sys/kernel/debug debugfs noauto 0
0
usbfs /proc/bus/usb usbfs noauto 0
0
devpts /dev/pts devpts mode=0620,gid=5 0
0
/dev/fd0 /media/floppy auto noauto,user,sync 0
0
/dev/hda /media/cdrom iso9660 noauto,user,exec,ro
00
/dev/hdb /media/cdrecorder iso9660 noauto,user,exec,ro
00




--
Alberto Garcia Baladia SUSE 10.1 i386 KDE 3.5.3 Kernel
2.6.16.13-4-smp
.



Relevant Pages

  • Re: Reply to "Marc Rios"
    ... I don't understant wich is the disk you want to access, ... and you don't have the disk in fstab, ... proc on /proc type proc ... varlock on /var/lock type tmpfs ...
    (Ubuntu)
  • Re: [opensuse] mounting wrong partition after upgrade
    ... Could my switching fstab to device rather than ID be the cause? ... no dependencies for kernel module 'ext3' found. ... /dev/sdb5 swap swap defaults 0 0 ... debugfs /sys/kernel/debug debugfs noauto 0 0 ...
    (SuSE)
  • Re: [SLE] Adding 2nd hard drive
    ... /dev/hda2 swap swap defaults 0 0 ... proc /proc proc defaults 0 0 ... sysfs /sys sysfs noauto 0 0 ... usbfs /proc/bus/usb usbfs noauto 0 0 ...
    (SuSE)
  • how change boot disk ?
    ... so i deceide to supress my smaller disk whose contain / and mount ... so i dont know how modify boot sequence ... /dev/hdd1 swap swap defaults 0 0 ...
    (comp.os.linux.setup)
  • how supress a boot disk ?
    ... so i deceide to supress my smaller disk whose contain / and mount ... so i dont know how modify boot sequence ... /dev/hdd1 swap swap defaults 0 0 ...
    (alt.os.linux.suse)