Re: [RFD w/info-PATCH] device arguments from lookup, partion code in userspace

Lars Marowsky-Bree (lmb@suse.de)
Mon, 21 May 2001 10:14:51 +0200


On 2001-05-19T16:25:47,
Daniel Phillips <phillips@bonn-fries.net> said:

> How about:
>
> # mkpart /dev/sda /dev/mypartition -o size=1024k,type=swap
> # ls /dev/mypartition
> base size device type
> # cat /dev/mypartition/size
> 1048576
> # cat /dev/mypartition/device
> /dev/sda
> # mke2fs /dev/mypartition

Ek. You want to run mke2fs on a _directory_ ?

If anything, /dev/mypartition/realdev

Sincerely,
Lars Marowsky-Brée <lmb@suse.de>

-- 
Perfection is our goal, excellence will be tolerated. -- J. Yahl

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/