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 29 Jul 2014, 07:08
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 [2 Posts]  
Author Message
HedonismBot


Joined: 25 Oct 2011
Posts: 1

PostPosted: Wed 26 Oct 2011, 07:35    Post subject:  Puppy seems to override fstab changes
Subject description: 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:
Code:
/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:
Code:
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: 3956
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
like
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 poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
You cannot attach files in this forum
You can download files in this forum


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