Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 11:20
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy seems to override fstab changes
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 25 Oct 2011
Posts: 1

PostPosted: Wed 26 Oct 2011, 07:35    Post_subject:  Puppy seems to override fstab changes
Sub_title: Puppy 5.2.8 full installation on ext4

Hi all,
I'm trying to do some optimizations on fstab but changes seem to be ignored.
I've added: noatime,data=writeback,commit=30 and tmpfs for /tmp and /var/lock-log-run
Here my fstab:
/dev/sda2 / ext4 noatime,data=writeback,commit=30 0 1
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
tmpfs /tmp tmpfs noatime 0 0
tmpfs /var/lock tmpfs noatime 0 0
tmpfs /var/run tmpfs noatime 0 0
tmpfs /var/log tmpfs noatime 0 0
/dev/fd0 /mnt/floppy auto noauto,rw 0 0

This is mtab when Puppy is running:
rootfs / rootfs rw 0 0
/dev/root / ext4 rw,relatime,barrier=1,data=writeback 0 0
none /proc proc rw,relatime 0 0
none /dev/pts devpts rw,relatime,gid=2,mode=620 0 0
none /sys sysfs rw,relatime 0 0
shmfs /dev/shm tmpfs rw,relatime,size=255916k 0 0
none /proc/bus/usb usbfs rw,relatime 0 0

I think data=writeback was already enabled before i made changes
Back to top
View user's profile Send_private_message 
Karl Godt

Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Wed 26 Oct 2011, 12:36    Post_subject:  

For frugal puppy installation you would have to adjust or implement fstab into the initrd.gz

Fstab mounting would work if only one parameter is given like
mount /dev/sda2 , afaik .

The scripts mostly use more than one parameter
busybox mount -o remount,rw /
in the /etc/rc.d/rc.sysinit file , which would be most relevant for full installations .

The entry /dev/sda2 may not be correct , maybe it really should be /dev/root , but I dont know this exactly .

To mount everything other than that you would need to call
mount -a
which should mount all the other tmpfs stuff in your fstab .
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0399s ][ Queries: 11 (0.0029s) ][ GZIP on ]