you can use the command
- Code: Select all
mke2fs-64
Its a static compiled full version of mke2fs
mke2fs-64
root@(none):/ # mke2fs-64 --ext3 /dev/sef1
mke2fs-64: invalid option -- -
Usage: mke2fs-64 [-c|-l filename] [-b block-size] [-f fragment-size]
[-i bytes-per-inode] [-I inode-size] [-J journal-options]
[-G meta group size] [-N number-of-inodes]
[-m reserved-blocks-percentage] [-o creator-os]
[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
root@(none):/ # mke2fs-64 -ext3 /dev/sef1
mke2fs-64: invalid option -- e
Usage: mke2fs-64 [-c|-l filename] [-b block-size] [-f fragment-size]
[-i bytes-per-inode] [-I inode-size] [-J journal-options]
[-G meta group size] [-N number-of-inodes]
[-m reserved-blocks-percentage] [-o creator-os]
[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
Mijzelf wrote:@fvdw: mdev should be able to do it. It does in the Lacie initrd. And else a simple script parsing /proc/partitions can do.
mke2fs-64 -j /dev/sef1
unlucky1 wrote:Uh oh.
- Code: Select all
root@(none):/ # mke2fs-64 --ext3 /dev/sef1
mke2fs-64: invalid option -- -
Usage: mke2fs-64 [-c|-l filename] [-b block-size] [-f fragment-size]
[-i bytes-per-inode] [-I inode-size] [-J journal-options]
[-G meta group size] [-N number-of-inodes]
[-m reserved-blocks-percentage] [-o creator-os]
[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
root@(none):/ # mke2fs-64 -ext3 /dev/sef1
mke2fs-64: invalid option -- e
Usage: mke2fs-64 [-c|-l filename] [-b block-size] [-f fragment-size]
[-i bytes-per-inode] [-I inode-size] [-J journal-options]
[-G meta group size] [-N number-of-inodes]
[-m reserved-blocks-percentage] [-o creator-os]
[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
mke2fs-64 -j -m 1 /dev/sef1
fvdw wrote:Mijzelf wrote:@fvdw: mdev should be able to do it. It does in the Lacie initrd. And else a simple script parsing /proc/partitions can do.
mdev is in the busybox binary but it doesn't seem to do the job for updating, need to llok to this later,
now I need to go for an hour or two (family business :mrgreen: )
#!/bin/sh
while read line
do
if [ "$line" != "" ]; then
device=` echo $line | cut -d ' ' -f 4 `
major=` echo $line | cut -d ' ' -f 1 `
minor=` echo $line | cut -d ' ' -f 2 `
[ -f /dev/$device ] && rm /dev/$device
mknod -m 666 /dev/$device b $major $minor
fi
done </proc/partitions | grep -v major
Return to Lacie 5big Network vs2
Users browsing this forum: No registered users and 10 guests