Re: Label

2016-09-16 Thread Brian Cluff
Having to run fsck is going to be a problem with most filesystems. If 
you use a file system like ext3/4 that has a journal if will recover 
faster though, but they will give you slightly slower write speeds and 
you'll loose space on on the journal itself.  There is also a lot of 
talk about the journal causing a lot of writes and wearing out your 
flash drive, but I would think the wear leveling would take care of that 
these days.
The bottom line is that you shouldn't be pulling out drives without 
unmounting them.  I'd use something like ext2 if I were you and just 
make sure you don't pull out the drive without unmounting it.


Brian Cluff

On 09/16/2016 12:41 PM, Michael wrote:

so then:
run cfdisk and then:

 mkfs.ext3  -L

so if I forget to unnmount it fsck won't be necessary.

On Fri, Sep 16, 2016 at 3:32 PM, Michael <mailto:bmi...@gmail.com>> wrote:


I usually use a backup drive bigger than all my drives, that way I
can keep older versions of my backups.



Won't work, the reason I'm going to be using the 64 gig sd card is
I ran out of space on my 32 gig usb drive.



On Fri, Sep 16, 2016 at 12:44 PM, Bob Elzer mailto:bob.el...@gmail.com>> wrote:

Just a thought, but not counting the flash drive,  what are
the size of your disks?

I usually use a backup drive bigger than all my drives, that
way I can keep older versions of my backups.

I do a daily rsync of my data files and then tar them to a
single file.

Plus I make an fsarchiver copy of the OS drive.

This way if I mess something up and a backup happens before I
realize it, I can get an older good copy.


On Sep 16, 2016 5:24 AM, "Michael" mailto:bmi...@gmail.com>> wrote:

I was sitting here considering how one names drives. I did
it once but it was at least a year ago and my memory is
bad (at it's best). And so I was going to google 'name
filesystem' or something like that when that little voice
inside my head cried out 'label'. So I opened a terminal
and 'apropos label' and discovered that little voice
inside my head can sometimes be right!

Anyways, there are a few options I could use. I still want
to retain msdos properties so I can switch it between
machines and. wait! This is for my backup drive on a
64gig sd card. So I can make it a linux filesystem!
So then:

first make a partition on the device with cfdisk (ref
linux fromscratch) then

 mkfs.ext2  -L

Do I need to do anything else because of the size of the card?
Should I do a different filesystem type?

-- 
:-)~MIKE~(-:


---
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
<mailto:PLUG-discuss@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@lists.phxlinux.org
<mailto:PLUG-discuss@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>




-- 
:-)~MIKE~(-:





--
:-)~MIKE~(-:


---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Label

2016-09-16 Thread Michael
so then:
run cfdisk and then:

 mkfs.ext3  -L

so if I forget to unnmount it fsck won't be necessary.

On Fri, Sep 16, 2016 at 3:32 PM, Michael  wrote:

> I usually use a backup drive bigger than all my drives, that way I can
> keep older versions of my backups.
>
> 
>
> Won't work, the reason I'm going to be using the 64 gig sd card is I ran
> out of space on my 32 gig usb drive.
>
>
> On Fri, Sep 16, 2016 at 12:44 PM, Bob Elzer  wrote:
>
>> Just a thought, but not counting the flash drive,  what are the size of
>> your disks?
>>
>> I usually use a backup drive bigger than all my drives, that way I can
>> keep older versions of my backups.
>>
>> I do a daily rsync of my data files and then tar them to a single file.
>>
>> Plus I make an fsarchiver copy of the OS drive.
>>
>> This way if I mess something up and a backup happens before I realize it,
>> I can get an older good copy.
>>
>> On Sep 16, 2016 5:24 AM, "Michael"  wrote:
>>
>>> I was sitting here considering how one names drives. I did it once but
>>> it was at least a year ago and my memory is bad (at it's best). And so I
>>> was going to google 'name filesystem' or something like that when that
>>> little voice inside my head cried out 'label'. So I opened a terminal and
>>> 'apropos label' and discovered that little voice inside my head can
>>> sometimes be right!
>>>
>>> Anyways, there are a few options I could use. I still want to retain
>>> msdos properties so I can switch it between machines and. wait! This is
>>> for my backup drive on a 64gig sd card. So I can make it a linux filesystem!
>>> So then:
>>>
>>> first make a partition on the device with cfdisk (ref linux fromscratch)
>>> then
>>>
>>>  mkfs.ext2  -L
>>>
>>> Do I need to do anything else because of the size of the card?
>>> Should I do a different filesystem type?
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>> ---
>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>> ---
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> :-)~MIKE~(-:
>



-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Label

2016-09-16 Thread Michael
I usually use a backup drive bigger than all my drives, that way I can keep
older versions of my backups.



Won't work, the reason I'm going to be using the 64 gig sd card is I ran
out of space on my 32 gig usb drive.


On Fri, Sep 16, 2016 at 12:44 PM, Bob Elzer  wrote:

> Just a thought, but not counting the flash drive,  what are the size of
> your disks?
>
> I usually use a backup drive bigger than all my drives, that way I can
> keep older versions of my backups.
>
> I do a daily rsync of my data files and then tar them to a single file.
>
> Plus I make an fsarchiver copy of the OS drive.
>
> This way if I mess something up and a backup happens before I realize it,
> I can get an older good copy.
>
> On Sep 16, 2016 5:24 AM, "Michael"  wrote:
>
>> I was sitting here considering how one names drives. I did it once but it
>> was at least a year ago and my memory is bad (at it's best). And so I was
>> going to google 'name filesystem' or something like that when that little
>> voice inside my head cried out 'label'. So I opened a terminal and 'apropos
>> label' and discovered that little voice inside my head can sometimes be
>> right!
>>
>> Anyways, there are a few options I could use. I still want to retain
>> msdos properties so I can switch it between machines and. wait! This is
>> for my backup drive on a 64gig sd card. So I can make it a linux filesystem!
>> So then:
>>
>> first make a partition on the device with cfdisk (ref linux fromscratch)
>> then
>>
>>  mkfs.ext2  -L
>>
>> Do I need to do anything else because of the size of the card?
>> Should I do a different filesystem type?
>>
>> --
>> :-)~MIKE~(-:
>>
>> ---
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Label

2016-09-16 Thread Bob Elzer
Just a thought, but not counting the flash drive,  what are the size of
your disks?

I usually use a backup drive bigger than all my drives, that way I can keep
older versions of my backups.

I do a daily rsync of my data files and then tar them to a single file.

Plus I make an fsarchiver copy of the OS drive.

This way if I mess something up and a backup happens before I realize it, I
can get an older good copy.

On Sep 16, 2016 5:24 AM, "Michael"  wrote:

> I was sitting here considering how one names drives. I did it once but it
> was at least a year ago and my memory is bad (at it's best). And so I was
> going to google 'name filesystem' or something like that when that little
> voice inside my head cried out 'label'. So I opened a terminal and 'apropos
> label' and discovered that little voice inside my head can sometimes be
> right!
>
> Anyways, there are a few options I could use. I still want to retain msdos
> properties so I can switch it between machines and. wait! This is for
> my backup drive on a 64gig sd card. So I can make it a linux filesystem!
> So then:
>
> first make a partition on the device with cfdisk (ref linux fromscratch)
> then
>
>  mkfs.ext2  -L
>
> Do I need to do anything else because of the size of the card?
> Should I do a different filesystem type?
>
> --
> :-)~MIKE~(-:
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Label

2016-09-16 Thread Brian Cluff

On 09/16/2016 05:24 AM, Michael wrote:

Do I need to do anything else because of the size of the card?
You can format the whole device, but you might want to partition the 
device with a single partition so that you don't run into any problems 
with software assuming that your drive will be partitioned.  Otherwise, 
go for it.

Should I do a different filesystem type?
ext2 should work fine and will save you the space that is normally 
allocated for a journal.  Just make sure that you unmount the drive 
after every mount of you will have to do an fsck the next time it's 
inserted.


Brian Cluff

---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss


Label

2016-09-16 Thread Michael
I was sitting here considering how one names drives. I did it once but it
was at least a year ago and my memory is bad (at it's best). And so I was
going to google 'name filesystem' or something like that when that little
voice inside my head cried out 'label'. So I opened a terminal and 'apropos
label' and discovered that little voice inside my head can sometimes be
right!

Anyways, there are a few options I could use. I still want to retain msdos
properties so I can switch it between machines and. wait! This is for
my backup drive on a 64gig sd card. So I can make it a linux filesystem!
So then:

first make a partition on the device with cfdisk (ref linux fromscratch)
then

 mkfs.ext2  -L

Do I need to do anything else because of the size of the card?
Should I do a different filesystem type?

-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: mount by UUID or label

2015-01-02 Thread Michael Havens
I figured out what the problem was. The problem was that /mnt was empty.
The solution was to simply create the directory.

:-)~MIKE~(-:

On Thu, Jan 1, 2015 at 12:17 PM, Michael Havens  wrote:

> and then I tried it on my computer:
>
> bmike1@c521 ~ $ sudo blkid
> [sudo] password for bmike1:
> /dev/sda1: UUID="f35e1797-4cdb-4930-a740-b424afbf61c7" TYPE="ext4"
> /dev/sda3: UUID="7ca483d5-70b1-4449-a2dd-99d5ce8601f1" TYPE="ext4"
> /dev/sda5: UUID="b45d28c4-edc6-4f9a-a80b-144e20197cf8" TYPE="swap"
> bmike1@c521 ~ $ sudo mount -Lb45d28c4-edc6-4f9a-a80b-144e20197cf8
> /mnt/sda6
> mount: no such partition found
> bmike1@c521 ~ $ sudo mount -Lb45d28c4-edc6-4f9a-a80b-144e20197cf8
> /mnt/sda2
> mount: no such partition found
> bmike1@c521 ~ $
>
> But then, as I was searching man just now, I think I found why it failed:
>
>Mount by label or uuid will work only if your devices  have  the
>  names
>listed  in  /proc/partitions.   In  particular, it may well fail if
> the
>kernel was compiled with devfs but devfs is not mounted.
>
> and after looking into /proc/partitions see they aren't there. How could I
> put the labels into /proc/partitions?
>
> bmike1@c521 ~ $ cat /proc/partitions
> major minor  #blocks  name
>
>80  244140625 sda
>81   24148992 sda1
>82  1 sda2
>83  214134784 sda3
>855855661 sda5
> bmike1@c521 ~ $
>
>  Could I open a text editor and manually append them after sda? ?
>
> :-)~MIKE~(-:
>
> On Thu, Jan 1, 2015 at 12:02 PM, Michael Havens  wrote:
>
>> How would you mount a partition by its UUID/label, when it's not listed
>> in /dev by the UUID/label?
>>
>> # blkid/dev/loop0: TYPE="squashfs" /dev/loop1: 
>> UUID="81200825-ccb6-4370-9e04-dbf763b0dbb6" TYPE="ext3" /dev/sda1: LABEL="/" 
>> UUID="2639-4A0E" TYPE="vfat" /dev/sda5: LABEL="Puppy" 
>> UUID="0a86140e-c4ec-4842-b2e0-7eb8c76b3a4e" TYPE="ext4" /dev/sda6: 
>> UUID="b6455bbc-9451-47f1-b0bb-2f6bdbb7d2fe" TYPE="swap" /dev/sda7: 
>> LABEL="Kubuntu" UUID="c3401d73-0c85-43ba-abf5-dc18b525f3e7" TYPE="ext4" 
>> /dev/sda8: LABEL="Files" UUID="dfb4fb3b-b012-4f41-8bad-c563492a9f99" 
>> TYPE="ext4" /dev/loop4: TYPE="squashfs" # mount -L 2639-4A0E /mnt/sda1
>> mount: no such partition found#
>>
>> :-)~MIKE~(-:
>>
>
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: mount by UUID or label

2015-01-01 Thread Michael Havens
and then I tried it on my computer:

bmike1@c521 ~ $ sudo blkid
[sudo] password for bmike1:
/dev/sda1: UUID="f35e1797-4cdb-4930-a740-b424afbf61c7" TYPE="ext4"
/dev/sda3: UUID="7ca483d5-70b1-4449-a2dd-99d5ce8601f1" TYPE="ext4"
/dev/sda5: UUID="b45d28c4-edc6-4f9a-a80b-144e20197cf8" TYPE="swap"
bmike1@c521 ~ $ sudo mount -Lb45d28c4-edc6-4f9a-a80b-144e20197cf8 /mnt/sda6
mount: no such partition found
bmike1@c521 ~ $ sudo mount -Lb45d28c4-edc6-4f9a-a80b-144e20197cf8 /mnt/sda2
mount: no such partition found
bmike1@c521 ~ $

But then, as I was searching man just now, I think I found why it failed:

   Mount by label or uuid will work only if your devices  have  the
 names
   listed  in  /proc/partitions.   In  particular, it may well fail if
the
   kernel was compiled with devfs but devfs is not mounted.

and after looking into /proc/partitions see they aren't there. How could I
put the labels into /proc/partitions?

bmike1@c521 ~ $ cat /proc/partitions
major minor  #blocks  name

   80  244140625 sda
   81   24148992 sda1
   82  1 sda2
   83  214134784 sda3
   855855661 sda5
bmike1@c521 ~ $

 Could I open a text editor and manually append them after sda? ?

:-)~MIKE~(-:

On Thu, Jan 1, 2015 at 12:02 PM, Michael Havens  wrote:

> How would you mount a partition by its UUID/label, when it's not listed in
> /dev by the UUID/label?
>
> # blkid/dev/loop0: TYPE="squashfs" /dev/loop1: 
> UUID="81200825-ccb6-4370-9e04-dbf763b0dbb6" TYPE="ext3" /dev/sda1: LABEL="/" 
> UUID="2639-4A0E" TYPE="vfat" /dev/sda5: LABEL="Puppy" 
> UUID="0a86140e-c4ec-4842-b2e0-7eb8c76b3a4e" TYPE="ext4" /dev/sda6: 
> UUID="b6455bbc-9451-47f1-b0bb-2f6bdbb7d2fe" TYPE="swap" /dev/sda7: 
> LABEL="Kubuntu" UUID="c3401d73-0c85-43ba-abf5-dc18b525f3e7" TYPE="ext4" 
> /dev/sda8: LABEL="Files" UUID="dfb4fb3b-b012-4f41-8bad-c563492a9f99" 
> TYPE="ext4" /dev/loop4: TYPE="squashfs" # mount -L 2639-4A0E /mnt/sda1
> mount: no such partition found#
>
> :-)~MIKE~(-:
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

mount by UUID or label

2015-01-01 Thread Michael Havens
How would you mount a partition by its UUID/label, when it's not listed in
/dev by the UUID/label?

# blkid/dev/loop0: TYPE="squashfs" /dev/loop1:
UUID="81200825-ccb6-4370-9e04-dbf763b0dbb6" TYPE="ext3" /dev/sda1:
LABEL="/" UUID="2639-4A0E" TYPE="vfat" /dev/sda5: LABEL="Puppy"
UUID="0a86140e-c4ec-4842-b2e0-7eb8c76b3a4e" TYPE="ext4" /dev/sda6:
UUID="b6455bbc-9451-47f1-b0bb-2f6bdbb7d2fe" TYPE="swap" /dev/sda7:
LABEL="Kubuntu" UUID="c3401d73-0c85-43ba-abf5-dc18b525f3e7"
TYPE="ext4" /dev/sda8: LABEL="Files"
UUID="dfb4fb3b-b012-4f41-8bad-c563492a9f99" TYPE="ext4" /dev/loop4:
TYPE="squashfs" # mount -L 2639-4A0E /mnt/sda1
mount: no such partition found#

:-)~MIKE~(-:
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

label printing

2013-06-01 Thread Michael Havens
I'm so proud of myself (I know "That must be pretty easy"). Anyways I
was going to ask about printing labels. Then I thought to myself, "Mike
Mike! Check the help menu in Libre Office first." And guess what; there was
my answer:)
:-)~MIKE~(-:
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss