Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 51EFA781A7E for ; Mon, 23 Dec 2019 02:51:42 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id 9so11438607lfq.10 for ; Sun, 22 Dec 2019 18:51:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bDzQY4AOlZh2lhwIzvrfyzLvZnVxIsAhzuufCpnxSbg=; b=WTNi+S5OR/r9D+b9psIsBB9Na0o/v2hTMBQiCOYg7mObIo5880F3Ir0I53lanw4N0C dnqvOCplocBC4uIP4qqtXW3X/LBvAGdnPEkLiW3ItZNmCYH+V8djOA7Rs60uhjsHFDbk VN4IrxQ1E8oPTBxjB4EsKauJYBF2sXIW8VpDwZ0pVlR+G1p0sZopb8309sh9TxI1FSWz tBPVBBM0iFMv2pobZsSaoAzaLzyZND5Kuq6IvQTxwW/9oonLvQptBN4YyUUjyvwQ/EnA 5qBIJ0GtwA7LwurPNb5TIrF/amyNefBfSkvN5sIA6GUqmgT88H2Uy2LZcwJ0J5pM8kxy +ElA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bDzQY4AOlZh2lhwIzvrfyzLvZnVxIsAhzuufCpnxSbg=; b=ERYwO5zGknSpv+r9qpQzA+Pd5Mc9d8hC7e2gWSwICi9SbtmtaJKbnvTlrdAwrwW04H emYyb7LW0lMd5mwIgNHOz/dsqFDmzIo9oKAe5QUhcsKM+7phwUKF5Y/H0AV/j5ao90td JQH/uUVlgb367ik74BAS07eUkY27slcKWSJJ9bmhTIeM9/gB/OsSvS/VAox23DBxigTp mIVc0luEK2J1+yFxRcPCY6gJymt7X1hi48NharZaSwau7osqURFG18Df8BQqjTQPBQLX 5UYBnRe0SPyq6RrY5yVUB0hp16HEHQBXUGcvfg3WItUHCZkDtg40taKp5eB8SotJzbbV vpPA== X-Gm-Message-State: APjAAAUQcQDsKq3day4EuIby0rtA3Fj8vDT7BpZGuchL96jiFoiBM5RE 0C8CYZFp35zYkgC2wPcvr5ilMWnVzeZbU7V4PIncQ/HHiqU= X-Google-Smtp-Source: APXvYqzmRvY08AdMnq5zbs/HhYlLZUqayd5G32ozoyjgeIsJ/rSMdlkqOeg5mo50AK7BAfutgL0NPJ7tj5Q8cKOTyik= X-Received: by 2002:a19:c7c5:: with SMTP id x188mr15268613lff.22.1577069501112; Sun, 22 Dec 2019 18:51:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: PICCORO McKAY Lenz Date: Sun, 22 Dec 2019 22:51:30 -0400 Message-ID: Subject: Re: vfat mount uid/gid not working To: alpine-user Content-Type: multipart/alternative; boundary="0000000000006668d9059a561b2b" --0000000000006668d9059a561b2b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable men! this it's not windo like! do not use that stupid thing named sudo ok! that's the firts problem https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/= fat/Kconfig those are the default for fs in kernel fat related mounts Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com El dom., 22 de dic. de 2019 a la(s) 12:04, Andrew Konstantinov ( andrew@aklive.net) escribi=C3=B3: > All, > > Puzzled as to why this is not working (what am I missing)? Appreciate any > help or pointers! > > Andrew > > $ uname -a > Linux localhost 5.4.5-0-lts #1-Alpine SMP Thu, 19 Dec 2019 09:08:46 UTC > x86_64 Linux > $ cat /etc/alpine-release > 3.11.0 > $ sudo fdisk /dev/sda > The number of cylinders for this disk is set to 30282. > There is nothing wrong with that, but this is larger than 1024, > and could in certain setups cause problems with: > 1) software that runs at boot time (e.g., old versions of LILO) > 2) booting and partitioning software from other OSs > (e.g., DOS FDISK, OS/2 FDISK) > > Command (m for help): p > Disk /dev/sda: 233 GB, 250059350016 bytes, 488397168 sectors > 30282 cylinders, 256 heads, 63 sectors/track > Units: sectors of 1 * 512 =3D 512 bytes > > Device Boot StartCHS EndCHS StartLBA EndLBA Sectors > Size Id Type > /dev/sda1 0,1,2 1023,255,63 64 488397167 488397104 > 232G b Win95 FAT32 > > $ sudo mount -t /dev/sda1 /mnt/content -o rw,uid=3D1000,gid=3D1000 > $ sudo mount -v G content > /dev/sda1 on /mnt/content type vfat > (rw,relatime,fmask=3D0022,dmask=3D0022,codepage=3D437,iocharset=3Dutf8,sh= ortname=3Dmixed,errors=3Dremount-ro) > $ ls -la /mnt/content > total 100 > drwxr-xr-x 4 root root 32768 Dec 31 1969 . > drwxr-xr-x 3 root root 4096 Dec 21 19:04 .. > $ > --0000000000006668d9059a561b2b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
men! this it's not windo like! do not= use that stupid thing named sudo ok! that's the firts problem

=

those are the default for fs in kernel fat related mounts

Lenz McKAY Gerardo (PICCORO)
http://qgqloch= ekone.blogspot.com


El dom., 22 = de dic. de 2019 a la(s) 12:04, Andrew Konstantinov (andrew@aklive.net) escribi=C3=B3:
All,

Puzzled as to why this is not w= orking (what am I missing)? Appreciate any help or pointers!

=
Andrew

$ uname= -a
Linux localhost 5.4.5-0-lts #1-Alpine SMP Thu, 19 Dec 2019 09:08:46 = UTC x86_64 Linux
$ cat /etc/alpine-release
3.11.0
<= font face=3D"monospace">$ sudo fdisk /dev/sda=C2=A0 =C2=A0
=
The number of cylinders for this disk is set = to 30282.
There is nothing wrong with that, but this is larger than 1024= ,
and could in certain setups cause problems with:
1) software that r= uns at boot time (e.g., old versions of LILO)
2) booting and partitionin= g software from other OSs
=C2=A0 =C2=A0(e.g., DOS FDISK, OS/2 FDISK)
=
Command (m for help): p
Disk /dev/sda: 233 GB, 250059350016 bytes, 4= 88397168 sectors
30282 cylinders, 256 heads, 63 sectors/track
Units: = sectors of 1 * 512 =3D 512 bytes

Device =C2=A0Boot StartCHS =C2=A0 = =C2=A0EndCHS =C2=A0 =C2=A0 =C2=A0 =C2=A0StartLBA =C2=A0 =C2=A0 EndLBA =C2= =A0 =C2=A0Sectors =C2=A0Size Id Type
/dev/sda1 =C2=A0 =C2=A00,1,2 =C2=A0= =C2=A0 =C2=A0 1023,255,63 =C2=A0 =C2=A0 =C2=A0 =C2=A0 64 =C2=A0488397167 = =C2=A0488397104 =C2=A0232G =C2=A0b Win95 FAT32

$ sudo mount -t /dev/= sda1 /mnt/content -o rw,uid=3D1000,gid=3D1000
$ sudo mount -v G content<= br>/dev/sda1 on /mnt/content type vfat (rw,relatime,fmask=3D0022,dmask=3D00= 22,codepage=3D437,iocharset=3Dutf8,shortname=3Dmixed,errors=3Dremount-ro)$ ls -la /mnt/content
total 100
drwxr-xr-x =C2=A0 =C2=A04 root =C2= =A0 =C2=A0 root =C2=A0 =C2=A0 =C2=A0 =C2=A0 32768 Dec 31 =C2=A01969 .
dr= wxr-xr-x =C2=A0 =C2=A03 root =C2=A0 =C2=A0 root =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A04096 Dec 21 19:04 ..
$=C2=A0

--0000000000006668d9059a561b2b--