Re: [gentoo-user] USB permission/owner - change not allowed as root

2014-01-01 Thread Neil Bothwick
On Tue, 31 Dec 2013 19:14:36 -0700, Joseph wrote:

 If I remove the mounting line from fstab they mount with correct
 permission joseph:users but the mount point is reference as UUID and
 it makes it hard to reference it in bash scripts. 

MOUNTPOINT=$(mount | awk '/^\/dev\/sdb1/ {print $3}')

Then you can let the automounter take care of everything for you. If you
use /etc/fstab, the device is mounted as root, but because you have a
mixture of filesystems you can specify the correct options for one
without breaking another. It is far simpler to let the automounter take
care of all of this and just handle the movable mount point.

There is probably a udisks option that sets the mount point to the device
name rather than the volume name or UUID, good luck finding it :)


-- 
Neil Bothwick

Exercise daily. Eat wisely. Die anyway.


signature.asc
Description: PGP signature


[gentoo-user] VMware Workstation environment on Gentoo

2014-01-01 Thread Adam Carter


 Is there some special configuration to make VMware Workstation on gentoo
 support virtual machines with more than one NIC?

 No, it just works. I have some  windows vms with multiple nics


Re: [gentoo-user] Failed to emerge subtitleeditor

2014-01-01 Thread Pavel Kazakov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/01/2014 08:02 AM, Gevisz wrote:

 The subtitleeditor failed to emerge with the message provided below.
 The required additional information is attached as text files.

 Any thoughts?

Based on 'checking for XML::Parser... configure: error: XML::Parser perl
module is required for intltool,' it looks as if you may need to rebuild
the perl modules (maybe a recent perl update?).

Try using perl-cleaner [1]:
perl-cleaner --allmodules -v

And then try to emerge subtitleeditor. If that doesn't work, try
revdep-rebuild. Hopefully that'll fix your issue :)

Regards,
Pavel

[1] http://www.gentoo.org/proj/en/perl/perl-cleaner.xml
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSxEMAAAoJENb1ecI556sujnUQAIXwkvaV53Wq26hX5fLPIYan
DnKG8Xiyz6dgnVqeNyUjasNwJOHzsGK+btN+HX6do3xWyqI9ZYkZxovWeIqrSdkp
Op0bfHEFBSCEtWS/7glPE4S8JoCkRjni+LGZAYhKW5VjqQfCh4YJkd9odDwE08RM
EI5YtMag/vFQviJO1iT/Hs4HE7lrU1W4AsY7Acp+lY4OFvIUB1k3rzkl5rIyE32O
yUcwnagMFnTSRjICQttSkEsOaAFNhFCCd9tkBjtQGVAq1siiY+vu996KkAO9BUuY
6pHZZQUnlPKwimSiNFV+U1RDIFrzYYsSBUjwepZ3XWCJ5+y1eqn/X4Dc8nK2dTc0
X5HODAEHCDezqAe4akJQp8HiGfE+sBbwgQ3EPDevBXofdrfFaHJ2mSm/u2WbE2gF
MLMe+oTKrGGAs6HaIwDo5bmF7Uw1g6elEkvADRJNSkJQeluzObeEgELori+1y/ij
GHUVDaPgxbWXGQre6AFtGGyKobI5aDvFKlqWfOugCF4TTkX97NjbbQ9BvdNZslBJ
D0o/YttUGHvxCyiCgs9HPsD86B/hcg+JES9e7fHfVgrd9OaJj/+uHljfdgiY2g8n
/53tUOoXlAVHWN/2PWh4iSlwsIsjm9MXnM+f+H9bLYF+/Ia78pEVAQRjH6GpDyHC
vHcolg6znsdrCFNxDRx/
=aq4R
-END PGP SIGNATURE-




Re: [gentoo-user] Failed to emerge subtitleeditor

2014-01-01 Thread Gevisz
On Wed, 01 Jan 2014 08:32:00 -0800
Pavel Kazakov nullishz...@gentoo.org wrote:

 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 01/01/2014 08:02 AM, Gevisz wrote:
 
  The subtitleeditor failed to emerge with the message provided below.
  The required additional information is attached as text files.
 
  Any thoughts?
 
 Based on 'checking for XML::Parser... configure: error: XML::Parser
 perl module is required for intltool,' it looks as if you may need to
 rebuild the perl modules (maybe a recent perl update?).
 
 Try using perl-cleaner [1]:
 perl-cleaner --allmodules -v
 
 And then try to emerge subtitleeditor. If that doesn't work, try
 revdep-rebuild. Hopefully that'll fix your issue :)
 
 Regards, Pavel

It indeed worked. Thank you.

Details:

First, I recalled that I forgot to run revdep-rebuild after the
today's world update. So, I ran revdep-rebuild first. It found
something broken and recompiled cairo. After that, I tried to emerge
subtitleeditor once more but the operation failed with the similar
error.

Then, I ran perl-cleaner --allmodules -v and, as a result,
83 perl-related packages (including git) were recompiled and
that allowed subtitleeditor emerge cleanly.

 





[gentoo-user] recommendation sought for external disk

2014-01-01 Thread gottlieb
My home desktop has had a seagate external 750GB drive ST3750640cbrk for
a number of years and the disk is starting to fail.  The system gets
only modest usage.  It is powered on about 1/2 the time and the disk
often goes significant periods without activity so it spins down.

I was considering what seagate calls an expansion hard drive.  They
are USB 3, but I will be using only USB 2.  The desktop is gentoo-only
and I don't need any backup software from seagate.

The models are STBVx000100 for x=1,2,3,4 TB.

I understand the price capacity trade-off, but wonder if anyone has any
experience with these drives.

Thanks in advance,
allan



[gentoo-user] Re: recommendation sought for external disk

2014-01-01 Thread walt
On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 My home desktop has had a seagate external 750GB drive ST3750640cbrk for
 a number of years and the disk is starting to fail.

Maybe I'm weird or something but I've never once had a hard drive fail
gradually/gracefully.  They all just stop working, usually when I power
the machine on for the first time in the morning.

What warning is the disk giving you of early failure?





Re: [gentoo-user] Re: recommendation sought for external disk

2014-01-01 Thread gottlieb
On Wed, Jan 01 2014, walt wrote:

 On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 My home desktop has had a seagate external 750GB drive ST3750640cbrk for
 a number of years and the disk is starting to fail.

 Maybe I'm weird or something but I've never once had a hard drive fail
 gradually/gracefully.  They all just stop working, usually when I power
 the machine on for the first time in the morning.

 What warning is the disk giving you of early failure?

First it wouldn't mount in during startup.

Then I tried switching the USB ports on the desktop and rebooted.
It mounted but fsck took forever with pauses.

Then I shut down the system and unplugged the drive.

allan



Re: [gentoo-user] Re: recommendation sought for external disk

2014-01-01 Thread Dale
gottl...@nyu.edu wrote:
 On Wed, Jan 01 2014, walt wrote:

 On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 My home desktop has had a seagate external 750GB drive ST3750640cbrk for
 a number of years and the disk is starting to fail.
 Maybe I'm weird or something but I've never once had a hard drive fail
 gradually/gracefully.  They all just stop working, usually when I power
 the machine on for the first time in the morning.

 What warning is the disk giving you of early failure?
 First it wouldn't mount in during startup.

 Then I tried switching the USB ports on the desktop and rebooted.
 It mounted but fsck took forever with pauses.

 Then I shut down the system and unplugged the drive.

 allan




Can you check it with smartmontools?  I guess if it can't be mounted
tho, it doesn't really matter about the rest.  That sort of makes it
hard to rescue the data on it.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: recommendation sought for external disk

2014-01-01 Thread gottlieb
On Wed, Jan 01 2014, Dale wrote:

 gottl...@nyu.edu wrote:
 On Wed, Jan 01 2014, walt wrote:

 On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 My home desktop has had a seagate external 750GB drive ST3750640cbrk for
 a number of years and the disk is starting to fail.
 Maybe I'm weird or something but I've never once had a hard drive fail
 gradually/gracefully.  They all just stop working, usually when I power
 the machine on for the first time in the morning.

 What warning is the disk giving you of early failure?
 First it wouldn't mount in during startup.

 Then I tried switching the USB ports on the desktop and rebooted.
 It mounted but fsck took forever with pauses.

 Then I shut down the system and unplugged the drive.

 allan


 Can you check it with smartmontools?  I guess if it can't be mounted
 tho, it doesn't really matter about the rest.  That sort of makes it
 hard to rescue the data on it.

 Dale

The important data on the disk is also on another computer (or two).  I
do want to buy the replacement disk to again have redundancy.

allan



Re: [gentoo-user] recommendation sought for external disk

2014-01-01 Thread Daniel Frey
On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 I was considering what seagate calls an expansion hard drive.  They
 are USB 3, but I will be using only USB 2.  The desktop is gentoo-only
 and I don't need any backup software from seagate.
 
 The models are STBVx000100 for x=1,2,3,4 TB.
 
 I understand the price capacity trade-off, but wonder if anyone has any
 experience with these drives.
 
 

Hi Allan,

I am currently using 11 of these drives (1TB model; STBV1000100)
connected via USB doing daily/weekly backups of infrastructure at work.
They're specifically used on mostly Windows servers via WSB.

They're written to quite often and have been on 24x7 since last January.
I did have a problem with one drive a month in but it was replaced and
have had no issues since.

Keep in mind these have no on/off switch and are literally an expansiond
drive, meant to be on all the time.

I've performed test restores to a VM and no issues. Performance is OK
even on USB2.

I have no complaints on these particular models (other than the lack of
a power switch), although I really should have purchased the 2TB models.
Oh well.

Dan



Re: [gentoo-user] recommendation sought for external disk

2014-01-01 Thread gottlieb
On Wed, Jan 01 2014, Daniel Frey wrote:

 On 01/01/2014 02:07 PM, gottl...@nyu.edu wrote:
 I was considering what seagate calls an expansion hard drive.  They
 are USB 3, but I will be using only USB 2.  The desktop is gentoo-only
 and I don't need any backup software from seagate.
 
 The models are STBVx000100 for x=1,2,3,4 TB.
 
 I understand the price capacity trade-off, but wonder if anyone has any
 experience with these drives.

 Hi Allan,

 I am currently using 11 of these drives (1TB model; STBV1000100)
 connected via USB doing daily/weekly backups of infrastructure at work.
 They're specifically used on mostly Windows servers via WSB.

 They're written to quite often and have been on 24x7 since last January.
 I did have a problem with one drive a month in but it was replaced and
 have had no issues since.

 Keep in mind these have no on/off switch and are literally an expansiond
 drive, meant to be on all the time.

 I've performed test restores to a VM and no issues. Performance is OK
 even on USB2.

 I have no complaints on these particular models (other than the lack of
 a power switch), although I really should have purchased the 2TB models.
 Oh well.

 Dan

Thank you dan.  I didn't realize there was no on-off switch.  But I
assume it (or the driver/controller) will spin it down after prolonged
idleness.

Also from seagate are back plus drives.  The documentation I found on
the seagate site was scanty, but I am guessing they are the same as the
expansion plus some windows/mac software that I won't use so I was
planing on saving the $10.  I wonder if they have power switches.

Here are the prices seagate lists for some stores (cheapest shown).

 Backup
  Expansion   Plus

1TB 8090
2TB100   110
3TB120   130
4TB170   180

I am leaning toward the 2TB.

Again thanks for the information.

allan