oops, the correct command to get actual used size of /dev is
df -m /dev | egrep '/dev$' | sed 's/ */ /g'| cut -d ' ' -f 2
one more space on sed
--
udev init script should use partition size from /etc/default/tmpfs
https://bugs.launchpad.net/bugs/317161
You received this bug notification becaus
tmpfs documentation says:
"These parameters accept a suffix k, m or g for kilo, mega and giga and
can be changed on remount. The size parameter also accepts a suffix %
to limit this tmpfs instance to that percentage of your physical RAM:
the default, when neither size nor nr_blocks is specified, i
On Thu, 2009-01-22 at 03:43 +, Iuri Diniz wrote:
> i...@cego:~$ df -h /dev/
> FilesystemSize Used Avail Use% Mounted on
> udev 628M 2.9M 625M 1% /dev
>
> i...@cego:~$ sudo mount /dev/ -o remount,size=8M
> [sudo] password for iuri:
>
> i...@cego:~$ df -h /de
On Thu, Jan 22, 2009 at 1:15 PM, Scott James Remnant
wrote:
> But what happens if you try and fill this?
Hum, I got. It will be a problem on the patch :-(
i...@cego:~$ sudo mount /dev -o remount,size=8M && echo 1
1
i...@cego:~$ sudo mount /dev -o remount,size=4M && echo 1
1
i...@cego:~$ sudo mo
"Also, does adding the option in a remount actually have any effect?"
yes,
i...@cego:~$ free
total used free sharedbuffers cached
Mem: 12851201249400 35720 0 205400 422532
-/+ buffers/cache: 621468 663652
Swap: 2441
** Attachment added: "udev init script using /etc/default/tmpfs options"
http://launchpadlibrarian.net/21214290/udev-use-etc-default-tmpfs.patch
--
udev init script should use partition size from /etc/default/tmpfs
https://bugs.launchpad.net/bugs/317161
You received this bug notification be