On Mon, Aug 17, 2009 at 11:38 AM, Manish Katiyar wrote:
> On Mon, Aug 17, 2009 at 11:06 AM, ajit mote
> wrote:
> >
> > Hello,
> >
> > I would like to know how file system structures are mapped to hard disk
> > sector.
>
> Each filesystem deals in the granularity of "block size" which is
> general
Hi Ajit,
On Mon, Aug 17, 2009 at 11:06 AM, ajit mote wrote:
>
> Hello,
>
> I would like to know how file system structures are mapped to hard disk
> sector. My goal is to understand how file system is created on block device
> and how superblocks are mapped to hard disk sectors.
>
http://lxr.li
On Mon, Aug 17, 2009 at 11:06 AM, ajit mote wrote:
>
> Hello,
>
> I would like to know how file system structures are mapped to hard disk
> sector.
Each filesystem deals in the granularity of "block size" which is
generally configurable (typically 4K) during fs creation time. So each
block maps to
Hello,
I would like to know how file system structures are mapped to hard disk
sector. My goal is to understand how file system is created on block device
and how superblocks are mapped to hard disk sectors.
I am not sure whether I stated the problem precisely or not but if I did not
described it
On Sun, Aug 16, 2009 at 8:23 PM, shankarGanesh wrote:
> Chetan Nanda wrote:
>
>>
>>
>> On Thu, Aug 13, 2009 at 6:30 PM, Shankar Ganesh
>> > shankargane...@gmail.com>> wrote:
>>
>>
>>
>>On Thu, Aug 13, 2009 at 5:23 PM, Daniel Baluta
>>mailto:daniel.bal...@gmail.com>> wrote:
>>
>>On
On Thu, Aug 13, 2009 at 12:57:49PM -0700, srinivasramana wrote:
>
> Hi All,
>
> 1. I am using the tiny tty driver written by Greg long back. Looks like its
> too old and hence some compilation issues. Once i resolve that, its giving
> BUG on add_timer(i tried in 2.6.28 & 2.6.30).
> 2. I have two
Chetan Nanda wrote:
On Thu, Aug 13, 2009 at 6:30 PM, Shankar Ganesh
mailto:shankargane...@gmail.com>> wrote:
On Thu, Aug 13, 2009 at 5:23 PM, Daniel Baluta
mailto:daniel.bal...@gmail.com>> wrote:
On Thu, Aug 13, 2009 at 2:17 PM, Shankar
Ganeshmailto:shankargane...@
Resending
On Sun, Aug 16, 2009 at 7:38 PM, Siddu wrote:
>
>
> On Sun, Aug 16, 2009 at 3:09 PM, loody wrote:
>
>> Dear all:
>> I try to open /dev/sda1 with system call, open("/dev/sda1", O_RDONLY).
>> But each time it will return negative value, that means fail.
>> my program is like below:
>> (
You can print a human readable string for error using 'strerror' function.
see -
man strerror
man errno
--
Thanks,
- John
On 08/16/2009 04:09 PM, Manish Katiyar wrote:
On Sun, Aug 16, 2009 at 3:09 PM, loody wrote:
Dear all:
I try to open /dev/sda1 with system call, open("/dev/sda1", O_RD
On Thu, Aug 13, 2009 at 6:30 PM, Shankar Ganesh wrote:
>
>
> On Thu, Aug 13, 2009 at 5:23 PM, Daniel Baluta wrote:
>
>> On Thu, Aug 13, 2009 at 2:17 PM, Shankar Ganesh
>> wrote:
>> > Hi ,
>> >
>> > I have a doubt regarding poll function in char driver . Let us consider
>> > following code
>> >
>>
On Sun, Aug 16, 2009 at 3:09 PM, loody wrote:
> Dear all:
> I try to open /dev/sda1 with system call, open("/dev/sda1", O_RDONLY).
> But each time it will return negative value, that means fail.
Have you checked for the errno ? I guess it is permission denied.
/home/mkatiyar> dd if=/dev/sda1 of=
Hi Manish,
On Sat, Aug 15, 2009 at 9:20 PM, Peter Teoh wrote:
> i don't think there is such a thing as 32/64 bit filesystem.
> Filesystem type does not need to be linked to the OS's 32/64 bit
> architecture. Ie, ext2 or ext3, is the same when mounted in either
> filesystem. but the content wi
Dear all:
I try to open /dev/sda1 with system call, open("/dev/sda1", O_RDONLY).
But each time it will return negative value, that means fail.
my program is like below:
(gdb) list
1 #include
2 #include
3 int main(void)
4 {
5 int fd=0;
6 fd = open("/dev/sda1", O_
13 matches
Mail list logo