www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Slack9 && ide-scsi (bug?)
Goto page 1, 2, 3 ... 14, 15, 16  Next
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Slackware Forum  
View previous topic :: View next topic  
Author Message
server
Guest






PostPosted: Mon Jun 23, 2003 1:16 pm    Post subject: Slack9 && ide-scsi (bug?) Reply with quote

message unavailable
Back to top
Steven Woody
Guest






PostPosted: Fri Jul 18, 2008 1:38 am    Post subject: Re: How can I handle files with Chinese name Reply with quote

On Jul 17, 4:29 pm, Steven Woody <narkewo...@gmail.com> wrote:
Quote:
Hi,

I just reintalled my box, and want to backup many of my old files left
in a partition, some of which are with Chinese names. Since I've not
setup X by far, so these files are displayed in strange form such as
\031\032 ... There is another fat32 partition on my disk which
installed and run a dual-booted XP. So I want to do one of the
following:

1. mv/cp these files to the fat32 partition and handle them in XP;
2. burn them directly on to DVDs using growisofs.

But I found, using any method above, files appears in the fat32
partition or DVD are lost their real names, I means they became
\031\032\021 ... in any OS.

Could anyone please help? Thanks.

-
narke

anyone here?
Back to top
Steven Woody
Guest






PostPosted: Fri Jul 18, 2008 5:04 am    Post subject: Re: How can I handle files with Chinese name Reply with quote

On Jul 18, 11:08 am, Douglas Mayne <d...@localhost.localnet> wrote:
Quote:


(3) Format the loopback. Use a filesystem which will properly display the
names.

# mke2fs /dev/loop0

I am not sure, what kind of file system can handle my files. What I
currently used are ext3. I know in Windows, these files name can be
correctly display, but I can not access linux partion in Windows. I'd
ever tried a tool, it claimed it can read ext2/3 and some others, but
the speed is very very slow, I then give up.

So, mk??? /dev/loop0 should I use?

Quote:
(7) Write container to a DVD using whatever burning program that you
prefer. I use growisofs. Note: with file sizes this large, specify UDF
structures.

Just like burning a normal file? Can you show me a simple growisofs
command line to make me clear? Thank you very much.
Back to top
notbob
Guest






PostPosted: Fri Jul 18, 2008 5:35 am    Post subject: Re: network problems on 12.1 Reply with quote

On 2008-07-17, +Alan Hicks+ <alan@lizella.netWORK> wrote:

Quote:
Note: this will not ping your "NIC". This IP address is assigned to
the virtual loopback device. Even if your NIC was plugged into the
wall socket, smoking, on fire, and too busy sleeping with your sister
to do any work, (or if the module isn't even loaded or there is no NIC
at all), you'll get replies from this address.

If Nick (my brother) is sleeping with my sister, he will shortly find
himself plugged into a wall socket with his loopback device on fire, and he
will surely burn in Hell! Fortunately, WE don't have a sister. :)

BTW, if one was unable to ping one's loopback device (lo), just what would
that be indicative of? (leave said sister out of it)

nb
Back to top
Ron Gibson
Guest






PostPosted: Fri Jul 18, 2008 6:04 am    Post subject: Re: How to tell whether a Video is PAL or NTSC Reply with quote

On Fri, 18 Jul 2008 10:14:21 +1000, Wild Wizard wrote:

Quote:
Seems I recall someone posting a switch on either mplayer, transcode or
ffmpeg that dumps all the info including whether it's PAL or NTSC.

There is no such thing as PAL or NTSC when looking at digital video.

PAL & NTSC are both methods for encoding analogue video signals.

LOL! Thanx for sharing that. I'm interested in making DVD's for a home
DVD player, not playing files on a PC.

The TV happens to be <Drum Roll> NTSC! And it will remain so for a long
time yet. I do not even have cable. All my television viewing except
over the air broadcasts come from DVD - South Park, Enterprise,
Voyager, Seven Days, and many many movies. Cable or FIOS is a waste of
money for my viewing habits.

I also have House, NCIS, Nova and other series on DVD.

--
Email - rsgibson@verizon.borg
Replace borg with net
"Ubuntu" - an African word, meaning "Slackware is too hard for me".
Back to top
Dan C
Guest






PostPosted: Fri Jul 18, 2008 7:20 am    Post subject: Re: How can I handle files with Chinese name Reply with quote

On Thu, 17 Jul 2008 18:38:05 -0700, Steven Woody wrote:

Quote:
anyone here?

No. Did you have a Slackware question?

Quote:
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1;

Ahhh. I guess not.


--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me".
The Usenet Improvement Project: http://improve-usenet.org
Back to top
Tom Neilson
Guest






PostPosted: Fri Jul 18, 2008 7:28 am    Post subject: Re: network problems on 12.1 Reply with quote

+Alan Hicks+ wrote:
Quote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2008-07-17, seRi0UsJokeR <seri0usj0k3_NOSPAM_@_PLEASE_gmail.com> wrote:
Perhaps I've got it... the ping toward localhost was ok, but the router
didn't reply.
ifconfig said that to eth0 was assigned a 70.30.... ip.
With "route -n" I don't see any router.

Ah-ha!

Almost certainly your DSL "modem"[0] is misconfigured. It is trying to
send a public IP address to your server. Many DSL "modems" can be
configured in such a way to forward any packets it receives down to a
single host. This is typically done in small business where the
customer has a static IP address, and are sometimes bound to a specific
port on the "modem". If you connected up to an alternate port in the
built-in switch on the back of the "modem", DHCP may work for you.

So if I give to my eth0 an ip like 192.168.1.2 with ifconfig and then:

route add default gw 192.168.1.1

...everything seem to be right. But during the bootstrap I can read that
to my eth0 is assigned an ip like the one above 70.30.... So, the
question now is, how do I assign a permanent ip to the eth0, and a
permanent gateway in the route map?

RTFM. http://tinyurl.com/69mtsk

[0] It really pisses me off to call these things modems. They are not
modems since they do not modulate and demodulate. They are DSL
terminal adapters, but I guess that's too much for people to
understand.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh/qKMACgkQrZS6hX/gvjrY2QCfV1Uh8BPKv8JCNoXUcHlCg0Av
25kAn1xG2g2NbuINsILxUb4q9QdHRn/n
=6AME
-----END PGP SIGNATURE-----
Hey Alan! Remember Telebit Trailblazers @ 36bit/s [18400 baud]? Now

there was a modem!! Not like the "the DSL devices" used these days to
connect you computer or router to a DSL phone line to use an ADSL service.

Use to move newsgroups for FIDONET back then ... <shudder>

LOL
Back to top
Douglas Mayne
Guest






PostPosted: Fri Jul 18, 2008 8:08 am    Post subject: Re: How can I handle files with Chinese name Reply with quote

On Thu, 17 Jul 2008 01:29:36 -0700, Steven Woody wrote:

Quote:
Hi,

I just reintalled my box, and want to backup many of my old files left
in a partition, some of which are with Chinese names. Since I've not
setup X by far, so these files are displayed in strange form such as
\031\032 ... There is another fat32 partition on my disk which
installed and run a dual-booted XP. So I want to do one of the
following:

1. mv/cp these files to the fat32 partition and handle them in XP;
2. burn them directly on to DVDs using growisofs.

But I found, using any method above, files appears in the fat32
partition or DVD are lost their real names, I means they became
\031\032\021 ... in any OS.

Could anyone please help? Thanks.

-
narke

Caveat: I have no real experience with alternate character sets- either in

Slackware or in Windows.

One way to bypass filesystem limitations is to stick with the OS which is
correctly displaying the filenames. If Slackware is correctly displaying
the filenames, then one way is to build a simple "loopback" container. The
steps for using loopback container is as follows:
(1) Allocate the container. I usually use dd. The following command
allocates a 4G empty container.

# dd if=/dev/zero of=container.lfs bs=1024 count=0 seek=4000000

(2) Setup a loopback

# losetup /dev/loop0 container.lfs

(3) Format the loopback. Use a filesystem which will properly display the
names.

# mke2fs /dev/loop0

(4) Mount the loopback

# mount /dev/loop0 /mnt/lfs

(5) Copy you file set into the container.

no example shown here.

(6) When finished, unmount the container and release the loop device.

# umount /mnt/lfs
# losetup -d /dev/loop0

(7) Write container to a DVD using whatever burning program that you
prefer. I use growisofs. Note: with file sizes this large, specify UDF
structures.

(Cool Verify DVD is correctly written, and files are readable when mounted
loopback, etc.

# mount /dev/hdc /mnt/dvd
# mount -o loop /mnt/dvd/container.lfs /mnt/lfs

--
Douglas Mayne
Back to top
D Herring
Guest






PostPosted: Fri Jul 18, 2008 8:14 am    Post subject: Re: How to tell whether a Video is PAL or NTSC Reply with quote

Take a look at this site:
http://gentoo-wiki.com/HOWTO_Create_a_DVD:Encode

- Daniel
Back to top
Ron Gibson
Guest






PostPosted: Fri Jul 18, 2008 9:33 am    Post subject: Re: How to tell whether a Video is PAL or NTSC Reply with quote

On Thu, 17 Jul 2008 23:14:56 -0400, D Herring wrote:

Quote:
Take a look at this site:
http://gentoo-wiki.com/HOWTO_Create_a_DVD:Encode

Oh yeah, Gentoo docs are usually great. I'm trying something different now.

--
Email - rsgibson@verizon.borg
Replace borg with net
"Ubuntu" - an African word, meaning "Slackware is too hard for me".
Back to top
~kurt
Guest






PostPosted: Fri Jul 18, 2008 9:54 am    Post subject: Re: How can I handle files with Chinese name Reply with quote

Steven Woody <narkewoody@gmail.com> wrote:
Quote:

1. mv/cp these files to the fat32 partition and handle them in XP;
2. burn them directly on to DVDs using growisofs.

But I found, using any method above, files appears in the fat32
partition or DVD are lost their real names, I means they became
\031\032\021 ... in any OS.

The best way to back up, or move files around, is to tar them up. At the
very least, you should be able to back the files up with tar. If, after
un-tar'ing the file on the XP box, the names are still not readable, it may
be the XP system doesn't have the language stuff installed, or that it uses
a different scheme for such languages.

- Kurt
Back to top
loki harfagr
Guest






PostPosted: Fri Jul 18, 2008 11:58 am    Post subject: Re: network problems on 12.1 Reply with quote

On Fri, 18 Jul 2008 00:35:30 +0000, notbob wrote:

Quote:
If Nick (my brother) is sleeping with my sister, he will shortly find
himself plugged into a wall socket with his loopback device on fire, and
he will surely burn in Hell! Fortunately, WE don't have a sister. Smile

Hoohoo, I want one off your stuff too! And I'm sure you can
count Dan C in as well as he seems in a search for a new connection ;D)
Back to top
Douglas Mayne
Guest






PostPosted: Fri Jul 18, 2008 6:18 pm    Post subject: Re: How can I handle files with Chinese name Reply with quote

On Thu, 17 Jul 2008 22:04:42 -0700, Steven Woody wrote:

Quote:
On Jul 18, 11:08 am, Douglas Mayne <d...@localhost.localnet> wrote:


(3) Format the loopback. Use a filesystem which will properly display the
names.

# mke2fs /dev/loop0

I am not sure, what kind of file system can handle my files. What I
currently used are ext3. I know in Windows, these files name can be
correctly display, but I can not access linux partion in Windows. I'd
ever tried a tool, it claimed it can read ext2/3 and some others, but
the speed is very very slow, I then give up.

I googled "ext2 Windows" and came back with some likely candidates. Which

one have you tried?

This is the top google hit, but I haven't tried it myself:
http://www.fs-driver.org/index.html

Quote:

So, mk??? /dev/loop0 should I use?

ext3 is backward compatible with ext2. Since your filesystem is fixed,

there is no need to have a journal; ext2 appears to be fine. mke2fs.
Quote:

(7) Write container to a DVD using whatever burning program that you
prefer. I use growisofs. Note: with file sizes this large, specify UDF
structures.

Just like burning a normal file? Can you show me a simple growisofs
command line to make me clear? Thank you very much.

I usually use a two step prcoess: create the iso, then burn it to a dvd.

This works best with the older computers to avoid buffer underruns, etc.
It is also fastest to read the source material from one disk and write the
output iso to another physical disk, etc.

# mkdir dvd
# mv container.lfs dvd
# mkisofs -R -J -udf -o /tmp/dvd-x.iso dvd
# growisofs -dvd-compat -Z /dev/hdd=/tmp/dvd-x.iso

Note: fixup any device and directory names as appropriate for your system.
Quote:


Note: Comments inline.

It could be this method is overkill for what you are trying to do. First,
if only getting access to your files from Windows, then perhaps a
different ext2 driver for Windows would be much simpler than this. The
loopback container method that I explained could be the right method if
you need a backup method that gives quickest access to your files. I
believe it is very quick; just pop in the disk and mount the loopback
container. (BTW, I am not sure this method would actually work when booted
in Windows. I am curious to find out if any of the ext2 drivers for
Windows will allow the "partition" to be specified as a file. From what I
can tell, it looks like each of the projects look at actual disk
partitions and identify what filesystem is present and allow you to "map a
drive letter." There may be no provision for the case where the
"partition" is encapsulated within a file.)

The method I have shown lacks any compression. If you want, or need
that, then tar (with a compression stage) is probably a better choice.

[ Off-topic ]
I was surprised that the Mac OS X does not support ext2. I googled for
that on a separate problem and came back with nothing. That is surprising
since one would think that ext2 would be fairly universal and present in
almost any *nix-like OS.

--
Douglas Mayne
Back to top
+Alan Hicks+
Guest






PostPosted: Fri Jul 18, 2008 6:26 pm    Post subject: Re: network problems on 12.1 Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2008-07-18, notbob <notbob@nothome.com> wrote:
Quote:
BTW, if one was unable to ping one's loopback device (lo), just what would
that be indicative of? (leave said sister out of it)

Well, there's several possibilities:

- - Most commonly it would mean that the loopback device isn't present,
probably due to compiling a custom kernel and leaving out this feature
- - You could have really screwed up your netfilter rules
- - You might just have taken the interface down
- - If it's not those, it almost surely indicates some serious internal
kernel problems

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiAnbkACgkQrZS6hX/gvjocXgCfbp8vl4KfqfaaHh9VX0/Dv2tD
SRAAn29qMp762JnIXIcJ052znFd+XNKB
=/EM+
-----END PGP SIGNATURE-----
Back to top
~kurt
Guest






PostPosted: Sat Jul 19, 2008 5:07 am    Post subject: Re: How can I handle files with Chinese name Reply with quote

Steven Woody <narkewoody@gmail.com> wrote:
Quote:

I am not sure, what kind of file system can handle my files. What I
currently used are ext3. I know in Windows, these files name can be

It isn't the file system - ext3 obviously handles the files just fine if
you can read them under X. It is the shell that can't interpret the
characters.

A quick google search turned up:

<http://www.boutell.com/lsm/lsmbyid.cgi/000594>

"Description: CHDRV is a terminal wrapper which can simulate Chinese character
display on a Linux console.It work WITHOUT the help of X-windows."

It was Chinese you were talking about, right?

- Kurt
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Slackware Forum Goto page 1, 2, 3 ... 14, 15, 16  Next  
Page 1 of 16
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum