zip压缩文件在linux下解压出现 ”symlink error: File name too long“的问题
在github上下载的 linux-at91-linux-3.6.9-at91.tar 压缩包,在windows下解压正常。 但通过samba服务将windows下的这个压缩包copy到linux目录下解压出错 压缩包中的./linux-at91-linux-3.6.9-at91/drivers/net/wireless/iwlegacy/common.h 内容变成了连接名 导致“symlink error: File name too long”, 然而查看压缩包在从windows copy到linux时没有出错(在图片界面用open with archiev manager打开文件./linux-at91-linux-3.6.9-at91/drivers/net/wireless/iwlegacy/common.h 一切显示正常)
解压错误Log 见下
inflating: ./linux-at91-linux-3.6.9-at91/virt/kvm/iodev.h
inflating: ./linux-at91-linux-3.6.9-at91/virt/kvm/iommu.c
inflating: ./linux-at91-linux-3.6.9-at91/virt/kvm/irq_comm.c
inflating: ./linux-at91-linux-3.6.9-at91/virt/kvm/kvm_main.c
finishing deferred symbolic links:
./linux-at91-linux-3.6.9-at91/arch/microblaze/boot/dts/system.dts -> ../../platform/generic/system.dts
./linux-at91-linux-3.6.9-at91/drivers/net/wireless/iwlegacy/common.h -> /******************************************************************************^J *^J * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.^J *^J * This program is free software; you can redistribute it and/or modify it^J * under the terms of version 2 of the GNU General Public License as^J * published by the Free Software Foundation.^J *^J * This program is distributed in the hope that it will be useful, but WITHOUT^J * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or^J * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for^J * more details.^J *^J * You should have received a copy of the GNU General Public License along with^J * this program; if not, write to the Free Software Foundation, Inc.,^J * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA^J *^J * The full GNU General Public License is included in this distribution in the^J * file called LICENSE.^J *^J * Contact Information:^J * Intel Linux Wireless <ilw@linux.intel.com>^J * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497^J *^J *****************************************************************************/^J#ifndef __il_core_h__^J#define __il_core_h__^J^J#include <linux/interrupt.h>^J#include <linux/pci.h>^I^I/* for struct pci_device_id */^J#include <linux/kernel.h>^J#include <linux/leds.h>^J#include <linux/wait.h>^J#include <linux/io.h>^J#include <net/mac80211.h>^J#in<<<<中间省略>>>>>> 4965 does not support HT40 channels on 2.4 GHz.^J */^J#define EEPROM_4965_REGULATORY_BAND_24_HT40_CHANNELS (2*0xA0)^I/* 14 bytes */^J^J/*^J * 5.2 GHz HT40 channels 36 (40), 44 (48), 52 (56), 60 (64),^J * 100 (104), 108 (112), 116 (120), 124 (128), 132 (136), 149 (153), 157 (161...
symlink error: File name too long