Re: entry in proc partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi William

[root@local xilinx_sysace]# cat /proc/partitions
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

254     0      31360 xsysacea 0 0 0 0 0 0 0 0 0 0 0
  8     0  160836480 sda 4664 10662 117024 21520 3768 5083 71096 22470 0 19650 43990
  8     1   48194968 sda1 4502 9883 115058 21110 3768 5083 71096 22470 0 19250 43580
 
I want to know wether the zeroes in the entry  are due to problem in flash file system format or due to the driver.

The zeros indicate there have been no I/O transactions. Can you write to the device or partition it using fdisk? Any kernel messages after loading the driver?


After doing some i/o transaction, i got the following output in /proc/partitions.  thanks william.

major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

  254     0      31360 xsysacea 1 18 40 30 0 0 0 0 1 173520 173520

    8     0  160836480 sda 3679 9027 96658 20250 4577 3267 62880 13440 0 18020 33690
    8     1   48194968 sda1 3532 8332 94890 19860 4577 3267 62880  13440 0 17650 33300

It looks fine now.

Am able to do fdisk and it shows the partition.

root@local xilinx_sysace]# fdisk /dev/xsysace

Command (m for help): p

Disk /dev/xsysace: 32 MB, 32112640 bytes
4 heads, 32 sectors/track, 490 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

        Device Boot    Start       End    Blocks   Id  System
/dev/xsysace1   *         1       489     31280    4  FAT16 <32M

Command (m for help):q
root@local xilinx_sysace]#

As of now i am not able to mount the flash.
The flash is formatted to FAT16 in windows with only one partition.
Can i mount it in linux.? 
Got this doubt after reading the article: http://www.ussg.iu.edu/hypermail/linux/kernel/0404.0/0056.html

Thanks
Sudheer

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux