Search Results

Search: Posts Made By: achenle
1,629
Posted By achenle
"cp -n" is a GNU extension to the POSIX standard...
"cp -n" is a GNU extension to the POSIX standard "cp" utility (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html).

As it's a platform-specific, non-standard extension, it's not...
Forum: Solaris 06-20-2018
1,665
Posted By achenle
FWIW - on an x86-based server, processes running...
FWIW - on an x86-based server, processes running in 32-bit mode have access to eight 32-bit general purpose registers, three of which are PC (program counter), SP (stack pointer), and FP (frame...
Forum: Solaris 01-17-2018
4,538
Posted By achenle
Can you boot from a CD or DVD? If so, you might...
Can you boot from a CD or DVD? If so, you might have a corrupt boot disk.

If you can't boot a CD or DVD, you likely have bad RAM somewhere. If you have a memory expansion "mezzanine", that's the...
Forum: Solaris 08-24-2017
2,378
Posted By achenle
Probably the worst approach to fixing a problem...
Probably the worst approach to fixing a problem is writing more code to paper over the symptom of the problem instead of just fixing the actual problem.

Your problem here is a file has...
Forum: Solaris 05-27-2017
1,263
Posted By achenle
grep /shutdown...
grep /shutdown /zones/*/root/var/spool/cron/crontabs/rootYou can access the files in a zone's filesystems directly from the global zone in "/zones/[ZONENAME]/root"
Forum: Solaris 05-19-2017
393
Posted By achenle
sudo java abc.jarI'd recommend being really...
sudo java abc.jarI'd recommend being really careful about what's in abc.jar and/or which abc.jar the user is allowed to run under sudo.

Because anyone who knows even a little Java programming will...
Forum: Solaris 04-29-2017
7,786
Posted By achenle
If you're on Solaris 11.2 or laternetstat...
If you're on Solaris 11.2 or laternetstat -aunwill show what PID is attached to all network objects (listening on ports, connected, etc) along with the base name of the process executable.
Forum: Solaris 04-20-2017
1,293
Posted By achenle
First, I'd say that a single RAID5 disk for both...
First, I'd say that a single RAID5 disk for both the OS and everything else is a bad setup.

As others have mentioned, put the OS on a hardware RAID mirror using two drives. That one drive will be...
Forum: Solaris 04-18-2016
1,460
Posted By achenle
Is the entire OS locked up, or just the X...
Is the entire OS locked up, or just the X display? It's possible to hang just the X Windows display server such that it ignores all input, but the underlying OS is just fine.

How do you reboot? ...
Forum: Solaris 04-15-2016
1,603
Posted By achenle
I don't think bart allows selecting the hash...
I don't think bart allows selecting the hash algorithm on Solaris 10. That's a Solaris 11 feature.
Forum: Solaris 02-26-2016
1,478
Posted By achenle
Also, I seem to recall having to run cfgadm -al...
Also, I seem to recall having to run cfgadm -al at times when connecting new FC LUNs
Forum: Programming 12-12-2015
1,137
Posted By achenle
It looks like you're doing a correlated subquery...
It looks like you're doing a correlated subquery (https://en.wikipedia.org/wiki/Correlated_subquery). Those are nasty performance killers.

Could you post the columns available in each table, the...
Forum: Programming 05-21-2015
3,327
Posted By achenle
The point was that even Sun messed up alignment...
The point was that even Sun messed up alignment in operating system basic tools such as mkfs on SPARC. SPARC has some very strict alignment restrictions, and the OPs code is one of the archetypes of...
1,383
Posted By achenle
\ls ...That will bypass any alias for "ls" and...
\ls ...That will bypass any alias for "ls" and use whatever binary it finds in your PATH envval, assuming you're running bash.
Forum: Solaris 04-16-2015
3,420
Posted By achenle
Trycfgadm -alThen devfsadm.
Trycfgadm -alThen devfsadm.
Forum: Solaris 04-12-2015
2,134
Posted By achenle
Do you know the PCI id of the LSI 2308? If it's...
Do you know the PCI id of the LSI 2308? If it's 1000:006e, I don't see it in /etc/driver_aliases on my Solaris 11.2 box.

Even if it's not there, I'd think there's a good chance it'll work if you...
2,713
Posted By achenle
Just work around it. And rejoice in the...
Just work around it.

And rejoice in the plausible deniability it provides you should you ever want to run something they'd deem illicit. In order to nail you for that, they'd first have to...
5,923
Posted By achenle
Only if it's within the same file system, such...
Only if it's within the same file system, such that a rename() system call succeeds.

Otherwise using "mv" to rename a hard link will make a copy of the file and the two links will no longer point...
Forum: Solaris 03-24-2015
12,248
Posted By achenle
Probably something like: for parm in `ndd...
Probably something like:

for parm in `ndd /dev/net/qlge2 \? | awk '{ print $1 }' | grep -v '?'`;
do
echo -n $parm:
ndd /dev/net/qlge2 $parm 2> /dev/null
doneReplace /dev/net/qlge2 with...
Forum: Solaris 03-22-2015
1,856
Posted By achenle
The bug appears to be at line 4763 of fileio.c in...
The bug appears to be at line 4763 of fileio.c in the vim source code from Vim source archives : vim online (http://www.vim.org/sources.php) :

#ifdef UNIX
if (made_writable)
perm &=...
Forum: Solaris 03-20-2015
1,856
Posted By achenle
I'm not sure I understand your explanation of...
I'm not sure I understand your explanation of what you've done. Did you try with the LD_PRELOAD set, and found that the ACLs were preserved?

Do you have a complete truss output with "nobackup"...
Forum: Solaris 03-20-2015
1,856
Posted By achenle
The chmod() at 2.7074 is probably the culprit. ...
The chmod() at 2.7074 is probably the culprit.

You can start up this dtrace script as root, then use vim to cause ACLs to disappear:

#!/usr/sbin/dtrace -s

#pragma D option flowindent
...
Forum: Solaris 03-19-2015
1,856
Posted By achenle
Could you post the output from truss, while you...
Could you post the output from truss, while you use vim to edit and save a file in a way that destroys the NFSv4 ACLs?truss -f -a -vall -l -d -o /truss/output/file vim /file/with/nfsv4/acls
Forum: Solaris 03-19-2015
1,856
Posted By achenle
What OS are you running VIM on?
What OS are you running VIM on?
1,031
Posted By achenle
First you need to precisely define "done". Then...
First you need to precisely define "done". Then how do you handle error conditions?

And you need to take into account the only entity that knows for certain that the file is "done" - and correct...
Showing results 1 to 25 of 138

 

Featured Tech Videos

All times are GMT -4. The time now is 11:39 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy