On 05.01.2014 05:34, dhan.war wrote:
> hi all
> 
> i am using up to date debian sid with xfce desktop environment. i am
> using Linux 3.13-rc6-amd64 #1 SMP Debian 3.13~rc6-1~exp1 (2013-12-30)
> x86_64 GNU/Linux from experimental.
> i have installed usbmount to auto mount all the devices connected
> through USB.
> 
> [cmd# 1] i have created btrfs partition on my external USB hard drive
> using the following command :
> 
> # mkfs.btrfs -f -L btrfs -m single /dev/sdc
> Turning ON incompat feature 'extref': increased hardlink limit per file
> to 65536
> fs created label btrfs on /dev/sdc
>     nodesize 16384 leafsize 16384 sectorsize 4096 size 931.51GiB
> Btrfs v3.12
> 
> [cmd# 2] my permissions of the device :
> # ls -l /dev/sdc
> brw-rw---- 1 root floppy 8, 32 Jan  5 09:47 /dev/sdc
> 
> my questions :
> [a] does the partition created by me is appropriate ?

it seems ok

> [b] how do i specify lzo compression in fstab ? last time when i tried
> to create entry fstab it is complaining about the auto mounting of the
> device by automount.

if you dont want the partition to be mounted with the fstab during boot
then you should add "noauto" to the list of options in the respective
fstab line.

> [c] what compression method is used by btrfs by default for the
> partitions created using the command mentioned above. [ cmd# 1]

none.  if you order mount to use compression without spezifieng the
algo, it will use zlib (thats like gz).  if you do not use the option
"compression" then it will not compress new files.

> [d] does the file permissions for my device are accurate ? [ cmd# 2]

i dont know.  are you member of the group floppy?  what is the purpose
of the group floppy on your machine?  what users are members of the
group floppy?

> [e] what is the appropriate fstab entry for my device ? [ i don't want
> to remove usbmount].

/dev/sdc /path/to/your/favorite/mountpoint/that/has/to/exist/already
btrfs compress,noauto 0 0

> [f] should i use single or dup for the device ?

maybe use single

> 
> please provide suggestions for configuring my device appropriately.
> thank you for reading the message patiently.
> 
> please alway cc me.
> 
> regards,
> wardhan.


i tried to keep it short.  feel free to ask for more.

cheers
justus

<<attachment: justus_seifert.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to