mkfs

kitepilot at kitepilot.com kitepilot at kitepilot.com
Sun Aug 4 14:57:20 MST 2013


I'd think about it the other way around.
I have *ALWAYS* seen a partition.
Not having one makes me nervous...
Just my opinion.
ET 

 

Michael Havens writes: 

> I was just about to create a partition on the device when a thought
> occurred to me: If I add a partition to this drive will that make any
> windows machine I were to add this to not want to access it?
> :-)~MIKE~(-: 
> 
> 
> On Sun, Aug 4, 2013 at 1:20 PM, Dazed_75 <lthielster at gmail.com> wrote: 
> 
>> Whether you do it in a terminal or with a GUI, this article is a wealth of
>> information about this: 
>>
>> http://www.unixmen.com/how-to-format-usb-drive-in-the-terminal/ 
>>
>> 
>>
>>
>> On Sun, Aug 4, 2013 at 11:25 AM, Michael Havens <bmike1 at gmail.com> wrote: 
>>
>>> why does it matter? it is only 2 gig. 
>>>
>>> :-)~MIKE~(-: 
>>>
>>>
>>> On Sun, Aug 4, 2013 at 10:34 AM, <kitepilot at kitepilot.com> wrote: 
>>>
>>>> If I was you, I'd make a partition.
>>>> Scary...
>>>> ET 
>>>>
>>>>
>>>> Michael Havens writes: 
>>>>
>>>>>  sudo mkfs -t vfat -I /dev/sdc did it. Thanks Enrique! Now I get the
>>>>> nice
>>>>> file manager appearing and everything.... How cool. I had to use -I
>>>>> because
>>>>> there are no partitions on the drive.
>>>>> :-)~MIKE~(-: 
>>>>>
>>>>> On Sun, Aug 4, 2013 at 9:46 AM, Michael Havens <bmike1 at gmail.com>
>>>>> wrote: 
>>>>>
>>>>>> it appears that msdos and vfat just point to each other (man mkfs.vfat
>>>>>> is
>>>>>> the man for mkfs.msdos). Is this correct? So then it doesn't matter if
>>>>>> I do
>>>>>> "-t vfat" or "-t msdos". What about "xtfs"?
>>>>>> :-)~MIKE~(-: 
>>>>>>
>>>>>> On Sun, Aug 4, 2013 at 9:25 AM, <kitepilot at kitepilot.com> wrote: 
>>>>>>
>>>>>>> RTFM!   ;-)
>>>>>>> ET
>>>>>>> Michael Havens writes: 
>>>>>>>
>>>>>>>>  So what is the option, "-t vfat" or "-t msdos"? I thought "xfs" was
>>>>>>>> an
>>>>>>>> option.
>>>>>>>> Oh yea..... I don't "plan" on using this in windows but just in case
>>>>>>>> I
>>>>>>>> need
>>>>>>>> to pull a file off of my dad's computer.
>>>>>>>> :-)~MIKE~(-:
>>>>>>>> On Sun, Aug 4, 2013 at 9:02 AM, <kitepilot at kitepilot.com> wrote: 
>>>>>>>>
>>>>>>>>> kitepilot at twinbeech[~]$ man mkfs|grep fat
>>>>>>>>>       fs(5), badblocks(8), fsck(8), mkdosfs(8), mke2fs(8),
>>>>>>>>> mkfs.bfs(8),
>>>>>>>>> mkfs.ext2(8), mkfs.ext3(8), mkfs.ext4(8), mkfs.minix(8),
>>>>>>>>> mkfs.msdos(8),
>>>>>>>>> mkfs.vfat(8), mkfs.xfs(8), mkfs.xiafs(8)
>>>>>>>>> kitepilot at twinbeech[~]$ man 8 mkfs.vfat 
>>>>>>>>>
>>>>>>>>> Michael Havens writes: 
>>>>>>>>>
>>>>>>>>>> what is the option in mkfs? I looked at man but they don't list
>>>>>>>>>> it. Is
>>>>>>>>>> it
>>>>>>>>>> '-t fat32'?
>>>>>>>>>> :-)~MIKE~(-:
>>>>>>>>>> On Sun, Aug 4, 2013 at 8:52 AM, <kitepilot at kitepilot.com> wrote: 
>>>>>>>>>>
>>>>>>>>>>> THen you are good...   :)
>>>>>>>>>>> Create a partition and install a FAT-32 filesystem if you plan on
>>>>>>>>>>> pluging
>>>>>>>>>>> that thing to Wincrap.
>>>>>>>>>>> ET
>>>>>>>>>>> Michael Havens writes: 
>>>>>>>>>>>
>>>>>>>>>>>> dmesg says the drive is sdc. I can then mount the drive and look
>>>>>>>>>>>> at
>>>>>>>>>>>> it's
>>>>>>>>>>>> contents.
>>>>>>>>>>>> now for your directions:
>>>>>>>>>>>> bmike1 at PresarioLapTop1:~$ lsusb > /tmp/junk-lsusb-0.txt
>>>>>>>>>>>> bmike1 at PresarioLapTop1:~$ cat /proc/partitions >
>>>>>>>>>>>> /tmp/junk-partitions-0.txt
>>>>>>>>>>>> bmike1 at PresarioLapTop1:~$ lsusb > /tmp/junk-lsusb-1.txt
>>>>>>>>>>>> bmike1 at PresarioLapTop1:~$ cat /proc/partitions >
>>>>>>>>>>>> /tmp/junk-partitions-1.txt
>>>>>>>>>>>> bmike1 at PresarioLapTop1:~$ diff /tmp/junk-lsusb-?.txt
>>>>>>>>>>>> 0a1 
>>>>>>>>>>>>
>>>>>>>>>>>>> Bus 001 Device 005: ID 0930:6544 Toshiba Corp. Kingston
>>>>>>>>>>>>> DataTraveler
>>>>>>>>>>>>> 2.0 
>>>>>>>>>>>>>
>>>>>>>>>>>> Stick (2GB)
>>>>>>>>>>>> All is good.
>>>>>>>>>>>> I can tell you right now that there are no partitions on this
>>>>>>>>>>>> drive.
>>>>>>>>>>>> It
>>>>>>>>>>>> is
>>>>>>>>>>>> dev/sdc. I kinow this is the case because I can mount /dev/sdc
>>>>>>>>>>>> /mnt/sdc
>>>>>>>>>>>> and
>>>>>>>>>>>> look at the contents. There is nothing in it that I want to keep.
>>>>>>>>>>>> :-)~MIKE~(-:
>>>>>>>>>>>> On Sun, Aug 4, 2013 at 8:12 AM, <kitepilot at kitepilot.com>
>>>>>>>>>>>> wrote: 
>>>>>>>>>>>>
>>>>>>>>>>>>> First question to answer is: Is the drive being detected?
>>>>>>>>>>>>> Unplug the drive, wait a minute and do:
>>>>>>>>>>>>> lsusb > /tmp/junk-lsusb-0.txt
>>>>>>>>>>>>> cat /proc/partitions > /tmp/junk-partitions-0.txt
>>>>>>>>>>>>> Now plug the drive, wait a minute and do:
>>>>>>>>>>>>> lsusb > /tmp/junk-lsusb-1.txt
>>>>>>>>>>>>> cat /proc/partitions > /tmp/junk-partitions-1.txt
>>>>>>>>>>>>> Then
>>>>>>>>>>>>> diff /tmp/junk-lsusb-?.txt
>>>>>>>>>>>>> If you see at leas one line you are good, otherwise you are
>>>>>>>>>>>>> dead in
>>>>>>>>>>>>> the
>>>>>>>>>>>>> water.
>>>>>>>>>>>>> If you can see the device, then:
>>>>>>>>>>>>> diff /tmp/junk-partitions-?.txt
>>>>>>>>>>>>> That's your partition.
>>>>>>>>>>>>> Depending on what you have (if you have) next steps are
>>>>>>>>>>>>> different.
>>>>>>>>>>>>> YMMV...
>>>>>>>>>>>>> ET
>>>>>>>>>>>>> Michael Havens writes: 
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Okay, when I was making a backup drive I did so on a drive
>>>>>>>>>>>>>> that was
>>>>>>>>>>>>>> too
>>>>>>>>>>>>>> small. (bummer) now, when I stick that device in nothing
>>>>>>>>>>>>>> happens
>>>>>>>>>>>>>> (the
>>>>>>>>>>>>>> nice
>>>>>>>>>>>>>> little file manager doesn't appear). So I think that is
>>>>>>>>>>>>>> because I
>>>>>>>>>>>>>> created
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>> label for this drive. So I wonder to myself how to fix it.
>>>>>>>>>>>>>> What I
>>>>>>>>>>>>>> think
>>>>>>>>>>>>>> of
>>>>>>>>>>>>>> is mkfs. What is a generic filesystem I can use on microsoft
>>>>>>>>>>>>>> computers
>>>>>>>>>>>>>> too?
>>>>>>>>>>>>>> is xtfs the best or should I go with fat 16/32? or am I
>>>>>>>>>>>>>> incorrect
>>>>>>>>>>>>>> that
>>>>>>>>>>>>>> this
>>>>>>>>>>>>>> will fix the problem?
>>>>>>>>>>>>>> :-)~MIKE~(-: 
>>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------**********---------------------
>>>>>>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.******
>>>>>>>>>>>>> ****org<
>>>>>>>>>>>>> PLUG-discuss at lists.**phxlinux.******org <http://phxlinux.org>
>>>>>>>>>>>>> <
>>>>>>>>>>>>> PLUG-discuss at lists.phxlinux.******org
>>>>>>>>>>>>> <PLUG-discuss at lists.phxlinux.**** 
>>>>>>>>>>>>>
>>>>>>>>>>>>> org <PLUG-discuss at lists.phxlinux.**org<PLUG-discuss at lists.phxlinux.org>
>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>>>>>> http://lists.phxlinux.org/**********mailman/listinfo/plug-****
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/********mailman/listinfo/plug-**discuss>
>>>>>>>>>>>>> <http://lists.phxlinux.**org/******mailman/listinfo/**
>>>>>>>>>>>>> plug-discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http://lists.phxlinux.**org/******mailman/listinfo/plug-****
>>>>>>>>>>>>> discuss<http://lists.phxlinux.**org/****mailman/listinfo/plug-*
>>>>>>>>>>>>> *discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <**http://lists.phxlinux.org/********mailman/listinfo/plug-****
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-**discuss>
>>>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-**
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-****
>>>>>>>>>>>>> discuss<http://lists.phxlinux.**org/**mailman/listinfo/plug-**
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <**http://lists.phxlinux.org/********mailman/listinfo/plug-****
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-**discuss>
>>>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-**
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-****
>>>>>>>>>>>>> discuss<http://lists.phxlinux.**org/**mailman/listinfo/plug-**
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> **<http://lists.phxlinux.org/******mailman/listinfo/plug-**
>>>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> <http://lists.phxlinux.**org/**mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> > 
>>>>>>>>>>>>>
>>>>>>>>>>>>> **<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> **<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >
>>>>>>>>>>>>> >**>
>>>>>>>>>>>>>  ------------------------------********--------------------- 
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.****
>>>>>>>>>>>> ****org< 
>>>>>>>>>>>>
>>>>>>>>>>> PLUG-discuss at lists.**phxlinux.****org <http://phxlinux.org> <
>>>>>>>>>>> PLUG-discuss at lists.phxlinux.****org <PLUG-discuss at lists.phxlinux.
>>>>>>>>>>> **org <PLUG-discuss at lists.phxlinux.org>>>>
>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>>>> http://lists.phxlinux.org/********mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> <**http://lists.phxlinux.org/******mailman/listinfo/plug-**
>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/**mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> <**http://lists.phxlinux.org/******mailman/listinfo/plug-**
>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/**mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> **<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> **<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> >**>
>>>>>>>>>>>  ------------------------------******--------------------- 
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.****
>>>>>>>>> **org<
>>>>>>>>> PLUG-discuss at lists.**phxlinux.**org <http://phxlinux.org> <
>>>>>>>>> PLUG-discuss at lists.phxlinux.**org <PLUG-discuss at lists.phxlinux.org>
>>>>>>>>> >>
>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>> http://lists.phxlinux.org/******mailman/listinfo/plug-discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>> <**http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>> >
>>>>>>>>> <**http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>> **<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>>>>>>> >**> 
>>>>>>>>>
>>>>>>>>>  ------------------------------****---------------------
>>>>>>>>
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.****org<
>>>>>>> PLUG-discuss at lists.**phxlinux.org <PLUG-discuss at lists.phxlinux.org>>
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>> <**http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>> 
>>>>>>>
>>>>>>>
>>>>>> 
>>>>>>
>>>>>>  ------------------------------**---------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.**org<PLUG-discuss at lists.phxlinux.org>
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss> 
>>>>
>>> 
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss 
>>>
>> 
>>
>>
>> --
>> Dazed_75 a.k.a. Larry 
>>
>> Please protect my address like I protect yours. When sending messages to
>> multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
>> from a forwarded message body before clicking Send. 
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss 
>>


More information about the PLUG-discuss mailing list