Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sparc handbook fstab...
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
midnightlightning
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 79

PostPosted: Mon May 08, 2006 10:40 pm    Post subject: Sparc handbook fstab... Reply with quote

Is it just me or is the fstab example in the Sparc Handbook more than a little off? I realize it's based on the x86 documentation, but is it just a copy/paste? Earlier in the handbook when they go over partitioning your disk, the suggestion is to create partitions for '/', '/usr', '/var' and '/home'; '/boot' is not included there.

The handbook's fstab seems to come out like:
Code:
/dev/hda1             /boot              ext2          defaults,noatime     1 2
/dev/hda2             none               swap          sw                   0 0
/dev/hda3             /                  ext3          noatime              0 1

none                  /proc              proc          defaults             0 0
none                  /dev/shm           tmpfs         nodev,nosuid,noexec  0 0

/dev/cdroms/cdrom0    /mnt/cdrom         auto          noauto,user          0 0
none                  /proc/openprom     openpromfs    defaults             0 0


Wheras mine, which has a hard drive that's partitioned like the handbook suggested; I think my fstab should look like:

Code:
/dev/hda2             none               swap          sw                   0 0
/dev/hda1             /                  ext3          noatime              0 1
/dev/hda4             /usr               ext3          defaults             0 0
/dev/hda5             /var               ext3          defaults             0 0
/dev/hda6             /home              ext3          defaults             0 0

none                  /proc              proc          defaults             0 0
none                  /dev/shm           tmpfs         nodev,nosuid,noexec  0 0

/dev/cdroms/cdrom0    /mnt/cdrom         auto          noauto,user          0 0
none                  /proc/openprom     openpromfs    defaults             0 0


Since there's no '/boot' partition, and there's three additional partitions described in the partition map, and mounted to /mnt/gentoo by this point. Is this right? Or should the hda1 '/' partition be 'defaults,noatime 1 2' like the /boot partition rather than 'noatime 0 1'? If this is right, could someone with authority update that section of the Sparc handbook to be comparable to the drive partitioning we who are following the handbook did earlier?

Also, the default fstab example had instead of 'none' for the /proc and /dev/shm partitions 'proc' and 'shm' respectively. Should they stay that way, or change to 'none' as the fstab example gives in the handbook?
_________________
"Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke


Last edited by midnightlightning on Tue May 09, 2006 8:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
midnightlightning
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 79

PostPosted: Tue May 09, 2006 5:31 pm    Post subject: Reply with quote

I found one other location of a '/boot' partition in the Sparc handbook: In the final Reboot step, the code snippit given is:

Code:
# exit
cdimage ~# cd
cdimage ~# umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
cdimage ~# reboot


But with my Sparc server, I think it should be:

Code:
# exit
livecd # cd
livecd # umount /mnt/gentoo/home /mnt/gentoo/var /mnt/gentoo/usr /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
livecd # reboot


Agreed? If so, that's another section of the Sparc Handbook that could use some updating...
_________________
"Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Tue May 09, 2006 7:10 pm    Post subject: Reply with quote

The handbook fstab is basically an example, it's not literal.
For example i'm using one big partition for / and that's it.
If you feel the example isn't accurate or whatever you can file a bug for the docs team to change it.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
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