Re: how to list the current HZ value?

2009-07-30 Thread Karel Zak
sysconf(_SC_CLK_TCK) Linux exports HZ to userspace via AT_CLKTCK auxiliary vector entry, for more details see include/linux/auxvec.h. The vector is area between process's environ[] and argv[]. I guess glibc reads the vector for the sysconf() call. Karel -- Karel Zak -- To unsu

Re: get kernel version using git

2009-07-09 Thread Karel Zak
On Tue, Jul 07, 2009 at 01:39:34PM +0200, Belisko Marek wrote: > it's possible after kernel git-pulling get what actual kernel > version is updated? I can read it from Makefile but I'm curious > if exist another way. $ git describe v2.6.31-rc1-195-g5298976 Karel --

Re: How to find my usb storage device mount point

2009-02-15 Thread Karel Zak
example (look up label ABCD): # mount -l | gawk '/\[ABCD\]/ { print $3 }' /mnt/test Karel -- Karel Zak -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Ext3 File system version

2008-01-17 Thread Karel Zak
s just ext3. The next version of the > ext3 filesystem will be called ext4. Well, there is rev_level and minor_rev_level fields in ext{2,3,4} superblock. Try to use: tune2fs -l or /lib/udev/vol_id IMHO it's useless information, I see release 1.0 everywhere. K

Re: how does kernel mount root

2007-11-30 Thread Karel Zak
initrd image. For example Fedora/RHEL uses nash interpreter in initrd image. This interpreter parses the root= option and mounts the real root filesystem. Karel -- Karel Zak <[EMAIL PROTECTED]> -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" t

Re: simple (and probably trivial) git question about cumulative patches

2007-11-12 Thread Karel Zak
t;Usage: $0 " exit 1 fi MYBRANCH=$(git branch | gawk '/^\* / { print $2 }') TMPBRANCH="tmp.$$" echo "Removing commit $CID from $MYBRANCH..." echo git checkout -f -b "$TMPBRANCH" "$CID"^ git rebase --onto "$TMPBRANCH" "$CI