Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/fstab entry for CD on Sun Sparc [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
psychocandy
Apprentice
Apprentice


Joined: 09 Nov 2006
Posts: 192

PostPosted: Sat Nov 18, 2006 8:36 pm    Post subject: /etc/fstab entry for CD on Sun Sparc [SOLVED] Reply with quote

I dont think mine is right, is it ?

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs> <mountpoint> <type> <opts> <dump/pa
ss>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT /boot ext2 noauto,noatime 1 2
#/dev/ROOT / ext3 noatime 0 1
#/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 auto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

/dev/sda1 / ext2 defaults, noatime 1 2
/dev/sda2 swap sw 0 0
/dev/sda4 /usr ext3 noatime 0 0
/dev/sda5 /var ext3 noatime 0 0
/dev/sda6 /home ext3 noatime 0 0

# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0
0

openprom /proc/openprom openpromfs defaults 0 0


Last edited by psychocandy on Fri Nov 24, 2006 9:27 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Sat Nov 18, 2006 8:45 pm    Post subject: Reply with quote

psychocandy,
You have
Quote:
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 auto,ro 0 0
you probabaly want noauto,ro or the init scripts will try to mount a CDROM at boot time and if the drive is empty, that will fail.

I have
Code:
/dev/cdrom              /mnt/cdrom      iso9660,udf     noauto,ro       0 0
My CDROM is an old DVD reader, so it may encounter udf filesystesms too. On CDs, UDF is only used with packet writing, which in Linux, is limited to CD-RWs
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
psychocandy
Apprentice
Apprentice


Joined: 09 Nov 2006
Posts: 192

PostPosted: Mon Nov 20, 2006 9:33 am    Post subject: Reply with quote

NeddySeagoon wrote:
psychocandy,
You have
Quote:
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 auto,ro 0 0
you probabaly want noauto,ro or the init scripts will try to mount a CDROM at boot time and if the drive is empty, that will fail.

I have
Code:
/dev/cdrom              /mnt/cdrom      iso9660,udf     noauto,ro       0 0
My CDROM is an old DVD reader, so it may encounter udf filesystesms too. On CDs, UDF is only used with packet writing, which in Linux, is limited to CD-RWs


Hmm. Gives me an error - unknown file system type iso9660...

What other fstypes are there?
Back to top
View user's profile Send private message
psychocandy
Apprentice
Apprentice


Joined: 09 Nov 2006
Posts: 192

PostPosted: Mon Nov 20, 2006 9:37 am    Post subject: Reply with quote

Just ran cat /proc/filesystems and noticed that iso9660 is NOT in there....

I'm assuming this is a kernel compiled thing?
Back to top
View user's profile Send private message
psychocandy
Apprentice
Apprentice


Joined: 09 Nov 2006
Posts: 192

PostPosted: Mon Nov 20, 2006 9:58 am    Post subject: Reply with quote

Found it. Didnt have ISO9660 filesystem compiled in the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum