Archive for category: Debian / Linux

Growisofs

22 février, 2012 (09:35) | Debian / Linux

Data DVD : $ growisofs -dvd-compat -Z /dev/sr0 -J -R /path/to/data Iso DVD : $ growisofs -dvd-compat -Z /dev/sr0=imagefile.iso See http://www.freebsd.org/doc/en/books/handbook/creating-dvds.html

Super-user reserved blocks

16 janvier, 2012 (11:21) | Debian / Linux

$ sudo mkfs.ext4 -m 0 /dev/sdc1 -m reserved-blocks-percentage Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. The default percentage is 5%.

IPv6 – reminder

10 janvier, 2012 (12:33) | Debian / Linux, Réseau

TCPDUMP: # tcpdump -i eth0 -vv ip6 ROUTES: # ip -6 route or # route -A inet6 ‘/etc/network/interfaces’ iface eth0 inet6 static pre-up modprobe ipv6 address fd00:0:172:16:20:1:: netmask 64 # ROUTES IPv6 up route -6 add fd00:0:10:0::/64 gw fd00:0:172:16:0:2:: See http://tldp.org/HOWTO/Linux+IPv6-HOWTO/

Force fsck on boot using '/forcefsck'

5 janvier, 2011 (09:35) | Debian / Linux

By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a full file system check. Create a file called forcefsck: # touch /forcefsck Now reboot the system: # reboot Inversely, you can force a fast boot: # touch /fastboot From http://www.cyberciti.biz/faq/linux-force-fsck-on-the-next-reboot-or-boot…