fork manpage wrt file locks

2007-11-21 Thread Yakov Lerner
Manpage 'man 2 fork' says: 'File locks ... are not inherited.' This is true for POSIX locks, but not for flock-type locks. This phrase comes directly from posix fork manpage, which is not aware of flock-style locks. Maybe fork manpage should rather say: ... POSIX file

Re: manual page 'ack to Inbox ArchiveReport SpamDelete More Actions 1 of 584 Older › manual page 'man 2 fork' wrt file locks

2007-11-19 Thread Yakov Lerner
Sorry for the screwed subject line. Should have been: Subject: manual page 'man 2 fork' wrt file locks Yakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html P

manual page 'ack to Inbox ArchiveReport SpamDelete More Actions 1 of 584 Older › manual page 'man 2 fork' wrt file locks

2007-11-19 Thread Yakov Lerner
Manual page 'man 2 fork' says: 'File locks ... are not inherited.' This is true for POSIX locks (fcntl-style locks). But flock-style locks (aka bsd-style locks) are not inherited across fork, correct ? Would not it be more helpful if fork manpage said: POSIX file locks

get amount of "entropy" in /dev/random ?

2007-10-02 Thread Yakov Lerner
>From the userlevel, can I get an estimate of "amount of entropy" in /dev/random, that is, the estimate of number of bytes readable until it blocks ? Of course multiple processes can read bytes and this would not be exact ... but still .. as an upper boundary estimate ? Thanks Yakov - To unsubscr

Re: Thinking outside the box on file systems

2007-08-15 Thread Yakov Lerner
On 8/15/07, Marc Perkel <[EMAIL PROTECTED]> wrote: > I want to throw out some concepts about a new way of > thinking about file systems. But the first thing you > have to do is to forget what you know about file > systems now. This is a discussion about a new view of > looking a file storage that i

glibc vs 2.6/2.4

2007-03-24 Thread Yakov Lerner
kernels ? Yakov Lerner - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-26 Thread Yakov Lerner
On 2/14/07, sfaibish <[EMAIL PROTECTED]> wrote: On Sat, 10 Feb 2007 22:06:37 -0500, Sorin Faibish <[EMAIL PROTECTED]> wrote: > Introducing DualFS > > File System developers played with the idea of separation of > meta-data from data in file systems for a while. The idea was > lately revived by a

software read-only flag for rw partition or disk ?

2007-01-29 Thread Yakov Lerner
Does /proc have any entries to flip the "software read-only flag" for a partition or disk (which are physically read-write) ? Yakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

usb2 external disk not recognized if connected during boot, but recognized if not connected during boot

2007-01-23 Thread Yakov Lerner
On a small Celeron-based appliance, Usb2 disk is not recognized *if* it is connected during kernel boot. But if not connected during boot, and I connect it later, it is recognized and works ok. I tried various 2.6.16, 17 and 18 kernels, both modular, and all-static, with the same result. What can

how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)

2007-01-04 Thread Yakov Lerner
How can I get serial_no from usb-attached HD drive ? The HDIO_GET_IDENTITY ioctl fails (like 'hdparm -i'). Any advice on how to extract the drive serialNo from the usb disk ? Can I write kernel module to extract the SerialNo ? (I don't need whole 'struct hd_driveid', only the SerialNo). Thanks Y

two architectures,same source tree

2006-12-20 Thread Yakov Lerner
Is it easily possible to build two architectures in the same source tree (so that intermediate fles and resut files do not interfere ) ? Thanks Yakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at htt

Re: locking sectors of raw disk (raw read-write test of mounted disk)

2006-11-16 Thread Yakov Lerner
te modified data between in between my read-write pair. Yakov Yakov Lerner wrote: > I'd like to make read-write test of the raw disk, and disk has > mounted partitions. Is it possible to lock range of sectors > of the raw device so that any kernel code that wants to write > to