I am trying to mount a USB pen: ---------------------------- [angelo_user@zorro ~]$ sudo fdisk /dev/sde1 -l Device Boot Start End Blocks Id System /dev/sde1 32 31266815 15633392 c W95 FAT32 (LBA) ----------------------------
But I get the message : "mount: unknown filesystem type 'FAT32'"
when I try to mount it: ---------------------------- [angelo_user@zorro ~]$ [angelo_user@zorro ~]$ sudo mount --type FAT32 /dev/sde1 /media/tmp_USB1
mount: only root can use "--types" option [angelo_user@zorro ~]$ sudo mount -t FAT32 /dev/sde1 /media/tmp_USB1 [sudo] password for angelo_user: mount: unknown filesystem type 'FAT32' ----------------------------
*how we have to indicate the value 'FAT 32 in the -t parameter?*
thank you
Angelo
On 12/21/2014 03:30 PM, Angelo Moreschini wrote:
I am trying to mount a USB pen:
[angelo_user@zorro ~]$ sudo fdisk /dev/sde1 -l Device Boot Start End Blocks Id System /dev/sde1 32 31266815 15633392 c W95 FAT32 (LBA)
But I get the message : "mount: unknown filesystem type 'FAT32'"
when I try to mount it:
[angelo_user@zorro ~]$ [angelo_user@zorro ~]$ sudo mount --type FAT32 /dev/sde1 /media/tmp_USB1
mount: only root can use "--types" option [angelo_user@zorro ~]$ sudo mount -t FAT32 /dev/sde1 /media/tmp_USB1 [sudo] password for angelo_user: mount: unknown filesystem type 'FAT32'
*_ how we have to indicate the value 'FAT 32 in the -t parameter?_*
thank you
Angelo
1. man filesystems 2. Did you try "-t vfat" in the mount command?
Kind regards
Joachim Backes
Hi Joachim,
"-t vfat" worked... [?]
[angelo_user@zorro ~]$ sudo mount --type vfat /dev/sde1 /media/tmp_USB1 [angelo_user@zorro ~]$ ls -l /media/tmp_USB1
*So, vfat include FAT32..*.
Thank you very much .
But, ....how I can know -in general- things like this ..?
Can you give me a link to a such documentation?
On Sun, Dec 21, 2014 at 5:41 PM, Joachim Backes < joachim.backes@rhrk.uni-kl.de> wrote:
On 12/21/2014 03:30 PM, Angelo Moreschini wrote:
I am trying to mount a USB pen:
[angelo_user@zorro ~]$ sudo fdisk /dev/sde1 -l Device Boot Start End Blocks Id System /dev/sde1 32 31266815 15633392 c W95 FAT32 (LBA)
But I get the message : "mount: unknown filesystem type 'FAT32'"
when I try to mount it:
[angelo_user@zorro ~]$ [angelo_user@zorro ~]$ sudo mount --type FAT32 /dev/sde1 /media/tmp_USB1
mount: only root can use "--types" option [angelo_user@zorro ~]$ sudo mount -t FAT32 /dev/sde1 /media/tmp_USB1 [sudo] password for angelo_user: mount: unknown filesystem type 'FAT32'
*_ how we have to indicate the value 'FAT 32 in the -t parameter?_*
thank you
Angelo
- man filesystems
- Did you try "-t vfat" in the mount command?
Kind regards
Joachim Backes
Fedora release 21 (Twenty One) Kernel-3.17.7-300.fc21.x86_64
Joachim Backes joachim.backes@rhrk.uni-kl.de https://www-user.rhrk.uni-kl.de/~backes -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Den 2014-12-21 17:50, Angelo Moreschini skrev:
Hi Joachim,
"-t vfat" worked...
[angelo_user@zorro ~]$ sudo mount --type vfat /dev/sde1 /media/tmp_USB1 [angelo_user@zorro ~]$ ls -l /media/tmp_USB1 _ _ _So, vfat include FAT32.._.
Thank you very much .
But, ....how I can know -in general- things like this ..?
Can you give me a link to a such documentation?
I recommend to search the web, for example if you search on "FAT32 Linux" you get lot of hits. The first link while I did this search was following:
http://en.wikipedia.org/wiki/FAT_filesystem_and_Linux
On Dec 21, 2014 9:50 AM, "Angelo Moreschini" mrangelo.fedora@gmail.com wrote:
Hi Joachim,
"-t vfat" worked...
[angelo_user@zorro ~]$ sudo mount --type vfat /dev/sde1 /media/tmp_USB1 [angelo_user@zorro ~]$ ls -l /media/tmp_USB1
So, vfat include FAT32...
Thank you very much .
But, ....how I can know -in general- things like this ..?
Can you give me a link to a such documentation?
`mount` can read the filesystem type too. Try using it without the type argument, and see what happens.
--Pete
On 21Dec2014 18:50, Angelo Moreschini mrangelo.fedora@gmail.com wrote:
"-t vfat" worked... [?]
[angelo_user@zorro ~]$ sudo mount --type vfat /dev/sde1 /media/tmp_USB1 [angelo_user@zorro ~]$ ls -l /media/tmp_USB1
*So, vfat include FAT32..*.
Thank you very much .
But, ....how I can know -in general- things like this ..?
Can you give me a link to a such documentation?
It is on your system. Run the command:
man 8 mount
and see the types available for "-t" option.
The "general" part of this advice is that: you're using the "mount" command, so read the "mount" manual entry!
("mount" is an administrative command, so it is in section 8, not section 1.)
Cheers, Cameron Simpson cs@zip.com.au
On Sun, Dec 21, 2014 at 9:50 AM, Angelo Moreschini < mrangelo.fedora@gmail.com> wrote:
Hi Joachim,
"-t vfat" worked... [?]
[angelo_user@zorro ~]$ sudo mount --type vfat /dev/sde1 /media/tmp_USB1 [angelo_user@zorro ~]$ ls -l /media/tmp_USB1
*So, vfat include FAT32..*.
Thank you very much .
But, ....how I can know -in general- things like this ..?
Can you give me a link to a such documentation?
You really can't, it's just rote memorization, or fill your head with the right search engine keywords. If you'd used -t msdos that would have worked too, but only if you're familiar with the difference in would you know to prefer vfat. And for that matter -t umsdos also would have worked. But normally just omit -t and it gets autodetected, and I just tested this, both command line and GNOME default to vfat.
OK.. thank you
On Mon, Dec 22, 2014 at 1:57 AM, Chris Murphy lists@colorremedies.com wrote:
On Sun, Dec 21, 2014 at 9:50 AM, Angelo Moreschini < mrangelo.fedora@gmail.com> wrote:
Hi Joachim,
"-t vfat" worked... [?]
[angelo_user@zorro ~]$ sudo mount --type vfat /dev/sde1 /media/tmp_USB1 [angelo_user@zorro ~]$ ls -l /media/tmp_USB1
*So, vfat include FAT32..*.
Thank you very much .
But, ....how I can know -in general- things like this ..?
Can you give me a link to a such documentation?
You really can't, it's just rote memorization, or fill your head with the right search engine keywords. If you'd used -t msdos that would have worked too, but only if you're familiar with the difference in would you know to prefer vfat. And for that matter -t umsdos also would have worked. But normally just omit -t and it gets autodetected, and I just tested this, both command line and GNOME default to vfat.
-- Chris Murphy
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Going off on a tangent here, so I'm deliberately splitting a thread...
On Mon, 2014-12-22 at 10:38 +1100, Cameron Simpson wrote:
Run the command:
man 8 mount
and see the types available for "-t" option.
The "general" part of this advice is that: you're using the "mount" command, so read the "mount" manual entry!
("mount" is an administrative command, so it is in section 8, not section 1.)
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
On 12/23/14 15:50, Tim wrote:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
But you do see a difference between
man 8 mount and man 2 mount
Yes?
Tim:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
Ed Greshko:
But you do see a difference between
man 8 mount and man 2 mount
Yes?
Yes, but probably not the difference you expect:
[tim@fluffy ~]$ man 2 mount No manual entry for mount in section 2
Likewise with:
[tim@fluffy ~]$ man 1 mount No manual entry for mount in section 1
On 12/23/14 16:30, Tim wrote:
Tim:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
Ed Greshko:
But you do see a difference between
man 8 mount and man 2 mount
Yes?
Yes, but probably not the difference you expect:
[tim@fluffy ~]$ man 2 mount No manual entry for mount in section 2
Likewise with:
[tim@fluffy ~]$ man 1 mount No manual entry for mount in section 1
No, it seems you may not have all the man pages installed.
On 12/23/2014 03:02 AM, Ed Greshko wrote:
On 12/23/14 15:50, Tim wrote:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
But you do see a difference between
man 8 mount and man 2 mount
Yes?
I see the difference, but as usual with most man pages, you almost have to know the syntacs you are looking for.. I always look for examples , and never find the one that applies to my situation. And I've looked at man pages for 30 years..
On 12/23/14 19:53, Paul Cartwright wrote:
On 12/23/2014 03:02 AM, Ed Greshko wrote:
On 12/23/14 15:50, Tim wrote:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
But you do see a difference between
man 8 mount and man 2 mount
Yes?
I see the difference, but as usual with most man pages, you almost have to know the syntacs you are looking for.. I always look for examples , and never find the one that applies to my situation. And I've looked at man pages for 30 years..
FWIW, "man man" does tell one the purpose of each of the sections.
On 12/23/2014 08:29 AM, Ed Greshko wrote:
FWIW, "man man" does tell one the purpose of each of the sections.
1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard]
see again I get confused...
man 7 groff No manual entry for groff in section 7
GROFF(1) General Commands Manual GROFF(1)
NAME groff - front-end for the groff document formatting system
so 7 miscellaneous does not include groff(7).. or am I misreading it...
and just for grins, try man awk... 2032 lines... and the example shows: EXAMPLES Print and sort the login names of all users:
BEGIN { FS = ":" } { print $1 | "sort" }
um, so, how does awk work there??
Try man 1 intro man 2 intro man 3 intro .... man 7 intro man 8 intro Regards Andy On Tuesday 23 December 2014 08:52:42 Paul Cartwright wrote:
On 12/23/2014 08:29 AM, Ed Greshko wrote:
FWIW, "man man" does tell one the purpose of each of the sections.
1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages andconventions), e.g. man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard]
see again I get confused...
man 7 groff No manual entry for groff in section 7
GROFF(1) General Commands Manual GROFF(1)
NAME groff - front-end for the groff document formatting system
so 7 miscellaneous does not include groff(7).. or am I misreading it...
and just for grins, try man awk... 2032 lines... and the example shows: EXAMPLES Print and sort the login names of all users:
BEGIN { FS = ":" } { print $1 | "sort" }um, so, how does awk work there??
On 12/23/14 21:57, Andrew R Paterson wrote:
Try man 1 intro man 2 intro man 3 intro .... man 7 intro man 8 intro
And, when in doubt, one can always resort to ....
man -k groff
And you'll know what sections are utilized as well as suggestions for related topics.
Besides, more often than not, "man whatever" gets you to what you wanted to know. :-)
On Tue, 23 Dec 2014, Paul Cartwright wrote:
On 12/23/2014 08:29 AM, Ed Greshko wrote:
FWIW, "man man" does tell one the purpose of each of the sections.
1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages andconventions), e.g. man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard]
see again I get confused...
man 7 groff No manual entry for groff in section 7
As someone else noted, it's most likely that either you don't have all the man pages installed, or you don't have all the programs installed. For me, for instance, "man 7 groff" brings up a man page for me in both CentOS 6.6 and Fedora 21.
billo
On 23.12.2014 08:50, Tim wrote:
Going off on a tangent here, so I'm deliberately splitting a thread...
On Mon, 2014-12-22 at 10:38 +1100, Cameron Simpson wrote:
Run the command:
man 8 mount
and see the types available for "-t" option.
The "general" part of this advice is that: you're using the "mount" command, so read the "mount" manual entry!
("mount" is an administrative command, so it is in section 8, not section 1.)
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
Everything you wanted to know about giraffe, elephant and parrot https://www.kernel.org/doc/man-pages/
On 12/23/2014 10:10 AM, Bill Oliver wrote:
On Tue, 23 Dec 2014, Paul Cartwright wrote:
On 12/23/2014 08:29 AM, Ed Greshko wrote:
FWIW, "man man" does tell one the purpose of each of the sections.
1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages andconventions), e.g. man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard]
see again I get confused...
man 7 groff No manual entry for groff in section 7
As someone else noted, it's most likely that either you don't have all the man pages installed, or you don't have all the programs installed. For me, for instance, "man 7 groff" brings up a man page for me in both CentOS 6.6 and Fedora 21.
billo
I think it was the OP that was missing man 7/8 commands. I was using groff as an example, and, no I don't have groff installed... nroff/troff, wow haven't used those in MANY years, as in BI ( before Internet:-0)
On 23Dec2014 18:20, Tim ignored_mailbox@yahoo.com.au wrote:
Going off on a tangent here, so I'm deliberately splitting a thread...
On Mon, 2014-12-22 at 10:38 +1100, Cameron Simpson wrote:
Run the command: man 8 mount and see the types available for "-t" option.
The "general" part of this advice is that: you're using the "mount" command, so read the "mount" manual entry!
("mount" is an administrative command, so it is in section 8, not section 1.)
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
Well, "man 2 mount" details the OS system call, very different in usage from the command line.
Cheers, Cameron Simpson cs@zip.com.au
If you lie to the compiler, it will get its revenge. - Henry Spencer
On 23Dec2014 08:52, Paul Cartwright pbcartwright@gmail.com wrote:
On 12/23/2014 08:29 AM, Ed Greshko wrote:
FWIW, "man man" does tell one the purpose of each of the sections.
1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages andconventions), e.g. man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard]
see again I get confused...
man 7 groff No manual entry for groff in section 7
Groff is a command. These are in sections 1, 6 and 8 (commands, games, admin commands).
so 7 miscellaneous does not include groff(7).. or am I misreading it...
7 is for stuff that more or less doesn't fit in the other categories.
and just for grins, try man awk... 2032 lines... and the example shows:
You're complaining that awk has documentation?
EXAMPLES Print and sort the login names of all users: BEGIN { FS = ":" } { print $1 | "sort" }
um, so, how does awk work there??
That is an example awk program. I would expect to feed it the /etc/passwd file as input.
Cheers, Cameron Simpson cs@zip.com.au
It's hard to make a man understand something when his livelihood depends on him not understanding it. - Upton Sinclair
On 23Dec2014 06:53, Paul Cartwright pbcartwright@gmail.com wrote:
On 12/23/2014 03:02 AM, Ed Greshko wrote:
On 12/23/14 15:50, Tim wrote:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
But you do see a difference between
man 8 mount and man 2 mount
Yes?
I see the difference, but as usual with most man pages, you almost have to know the syntacs you are looking for.. I always look for examples , and never find the one that applies to my situation. And I've looked at man pages for 30 years..
You're aware of "man -k"?
Cheers, Cameron Simpson cs@zip.com.au
Nope. First, you need to learn how to use vi, the editor from hell (vi vi vi -- the number of the beast), ... - Dan Sorenson, DoD#1066, z1dan@exnet.iastate.edu
On Wed, Dec 24, 2014 at 09:20:13AM +1100, Cameron Simpson wrote:
On 23Dec2014 06:53, Paul Cartwright pbcartwright@gmail.com wrote:
On 12/23/2014 03:02 AM, Ed Greshko wrote:
On 12/23/14 15:50, Tim wrote:
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
But you do see a difference between
man 8 mount and man 2 mount
Yes?
I see the difference, but as usual with most man pages, you almost have to know the syntacs you are looking for.. I always look for examples , and never find the one that applies to my situation. And I've looked at man pages for 30 years..
You're aware of "man -k"?
Cheers, Cameron Simpson cs@zip.com.au
Nope. First, you need to learn how to use vi, the editor from hell (vi vi vi -- the number of the beast), ... - Dan Sorenson, DoD#1066, z1dan@exnet.iastate.edu
Nope. The authors of vi explicitly disclaimed that vi means six.
On 12/23/2014 05:19 PM, Cameron Simpson wrote:
and just for grins, try man awk... 2032 lines... and the example shows:
You're complaining that awk has documentation?
oh no! that just means there are lots of options, arguements..... complex command:)
EXAMPLES Print and sort the login names of all users: BEGIN { FS = ":" } { print $1 | "sort" }
um, so, how does awk work there??
That is an example awk program. I would expect to feed it the /etc/passwd file as input.
I would usually grep password, looking for a specific name... nice to have a sorted list though.
On 24Dec2014 06:50, Paul Cartwright pbcartwright@gmail.com wrote:
On 12/23/2014 05:19 PM, Cameron Simpson wrote:
and just for grins, try man awk... 2032 lines... and the example shows:
You're complaining that awk has documentation?
oh no! that just means there are lots of options, arguements..... complex command:)
It is a whole programming language.
EXAMPLES Print and sort the login names of all users: BEGIN { FS = ":" } { print $1 | "sort" }
um, so, how does awk work there??
That is an example awk program. I would expect to feed it the /etc/passwd file as input.
I would usually grep password, looking for a specific name... nice to have a sorted list though.
AWK's not doing the sorting there.
The real advantage (in this tiny example) is that awk splits lines into fields for you. Instead of using grep and writing special regexps to get fields (tedious for anything except the first field), if you use:
awk -F: 'program-text-here...' /etc/passwd
then the login field is $1 and so on. Then you can work more directly and readably.
Cheers, Cameron Simpson cs@zip.com.au
Don't have awk? Use this simple sh emulation: #!/bin/sh echo 'Awk bailing out!' >&2 exit 2 - Tom Horsley tahorsley@csd.harris.com
On Wed, Dec 24, 2014 at 08:54:04AM +1100, Cameron Simpson wrote:
On 23Dec2014 18:20, Tim ignored_mailbox@yahoo.com.au wrote:
Going off on a tangent here, so I'm deliberately splitting a thread...
On Mon, 2014-12-22 at 10:38 +1100, Cameron Simpson wrote:
Run the command: man 8 mount and see the types available for "-t" option.
The "general" part of this advice is that: you're using the "mount" command, so read the "mount" manual entry!
("mount" is an administrative command, so it is in section 8, not section 1.)
I've never come to grips with multiple docs for man, depending on such things as section numbers. And I see no difference in output between "man 8 mount" or "man mount" Granted I haven't gone the whole way through, but I've already gone deep into them, and not seen anything.
Well, "man 2 mount" details the OS system call, very different in usage from the command line.
If you set the environment variable export MANOPT="-a" or simply use that option with the man command, you'll get all available instances of 'man foo', one after the other.
I don't understand why that's not the Fedora default; it is on my systems. I put it in /etc/profile.d/bash.sh along with some other niceties that make Linux more friendly.