The time now is Tue 21 May 2013, 06:54
All times are UTC - 4 |
| Author |
Message |
HedonismBot

Joined: 25 Oct 2011 Posts: 1
|
Posted: 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
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: 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
|
|
 |
|
|
|
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
|