PDA

View Full Version : What file system is Knoppix using in its ram disk?



GottaBuild
06-03-2006, 06:46 PM
I am using Knoppix live CD with no hard drive. Sometimes I use the toram parameter while booting. I am curious to know, when knoppix builds the ram disk in memory, what file system is it using? Is it the same for a normal boot as it is with the toram parameter?

Dave_Bechtel
06-04-2006, 05:30 AM
Just an educated guess, but probably ext2 or something similar. (With RAM filesystems, you don't need journalling.)


I am using Knoppix live CD with no hard drive. Sometimes I use the toram parameter while booting. I am curious to know, when knoppix builds the ram disk in memory, what file system is it using? Is it the same for a normal boot as it is with the toram parameter?

maxIT
06-04-2006, 09:18 AM
KNOPPIX 3.8.2, mount | grep ram output:


/ramdisk on /ramdisk type tmpfs (rw,size=375888k)
/UNIONFS on /UNIONFS type unionfs (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro)

I guess newers knoppix than 3.8 have unionfs.

Dave_Bechtel
06-04-2006, 05:23 PM
--Cool, thanks.

IBM article on tmpfs properties/features:

http://www-128.ibm.com/developerworks/library/l-fs3.html


KNOPPIX 3.8.2, mount | grep ram output:


/ramdisk on /ramdisk type tmpfs (rw,size=375888k)
/UNIONFS on /UNIONFS type unionfs (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro)

I guess newers knoppix than 3.8 have unionfs.

maxIT
06-04-2006, 06:48 PM
Yes 'tmpfs' is very cool and the 3.8.2 hd-install has /tmp mounted on it by default.


from 'mount' command:
tmpfs on /dev/shm type tmpfs (rw)




from '/etc/fstab':
tmpfs /dev/shm tmpfs defaults 0 0